net/i40e: clear VF reset flags after reset
authorZhirun Yan <zhirun.yan@intel.com>
Thu, 13 Dec 2018 15:46:45 +0000 (15:46 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit0eaa1f8c75311b96d269a0195b80e80d6c27e83c
tree2226a8178b22d161af7c5c622884a24f42ecab33
parentb2cb71e95e146724df93df8d3724f4d0475dcd54
net/i40e: clear VF reset flags after reset

The reset flags vf->vf_reset and vf->pend_msg are set when VF received
VIRTCHNL_EVENT_RESET_IMPENDING. So after resetting done, these flags
should be cleared.

Fixes: 8cacf78469a7 ("net/i40e: fix VF initialization error")
Cc: stable@dpdk.org
Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c