]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: stop VF rings
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 7 Apr 2015 18:32:55 +0000 (11:32 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 14 Apr 2015 23:54:09 +0000 (16:54 -0700)
commit444346385249603f8970314dcdb058d84a2530a4
tree4d5b6d4ffea64c6a802ef887709cdcff16747733
parentf4f88c6d3b6fe1632ddb567be155698733e857a1
i40e: stop VF rings

Explicitly stop the rings belonging to each VF when disabling SR-IOV.
Even though the VFs were gone, and the associated VSIs were removed,
the rings were not stopped, and in some circumstances the hardware would
continue to access the memory formerly used by the rings, causing
memory corruption or DMAR errors, both of which would lead to general
malaise of the kernel.

To relieve this condition, explicitly stop all the rings associated with
each VF before releasing its resources.

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