i40e: acknowledge VFLR when disabling SR-IOV
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 28 Nov 2013 06:39:40 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 6 Jan 2014 10:39:10 +0000 (02:39 -0800)
commitf7414531a0cf1c0ff4031b8ff3627983969fb00e
tree5605fd5a1a2f293e0a80697a537ef13722baf527
parent3197ce220c821b869731872251f2e225c37cbbb0
i40e: acknowledge VFLR when disabling SR-IOV

When SR-IOV is disabled, the (now nonexistent) virtual function
devices undergo a VFLR event. We don't need to handle this event
because the VFs are gone, but we do need to tell the HW that they are
complete. This fixes an issue with a phantom VFLR and broken VFs when
SR-IOV is re-enabled.

Change-Id: I7580b49ded0158172a85b14661ec212af77000c8
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c