]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: do a proper reset when disabling a VF
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 27 Apr 2015 18:57:14 +0000 (14:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Jul 2015 01:26:42 +0000 (18:26 -0700)
commit9c6bbffe2b229f36233354c351cb22f182765122
tree85e5ea815d587c973f0463a87ac0ec2e6d2b7a4f
parent6f52ac0e7183f2100c9aaec78f24b7e6f1033d34
i40e: do a proper reset when disabling a VF

The VF disable code was just whanging on the reset bit without properly
cleaning up the VF, which would leave the VF in an indeterminate state
from which it could not recover. Fix this by notifying the VF and then
by calling the normal VF reset routine.

Change-ID: I862b9dfa919368773cbdc212b805b520db2f7430
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c