Star64_linux/drivers/net/ethernet/intel/igb
Alex Williamson c23d92b80e igb: Teardown SR-IOV before unregister_netdev()
When the .remove() callback for a PF is called, SR-IOV support for the
device is disabled, which requires unbinding and removing the VFs.
The VFs may be in-use either by the host kernel or userspace, such as
assigned to a VM through vfio-pci.  In this latter case, the VFs may
be removed either by shutting down the VM or hot-unplugging the
devices from the VM.  Unfortunately in the case of a Windows 2012 R2
guest, hot-unplug is broken due to the ordering of the PF driver
teardown.  Disabling SR-IOV prior to unregister_netdev() avoids this
issue.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-08-18 14:06:05 -07:00
..
e1000_82575.c igb: add support for 1512 PHY 2015-08-18 14:06:04 -07:00
e1000_82575.h
e1000_defines.h igb: add support for 1512 PHY 2015-08-18 14:06:04 -07:00
e1000_hw.h
e1000_i210.c
e1000_i210.h
e1000_mac.c
e1000_mac.h
e1000_mbx.c
e1000_mbx.h
e1000_nvm.c
e1000_nvm.h
e1000_phy.c igb: add support for 1512 PHY 2015-08-18 14:06:04 -07:00
e1000_phy.h igb: add support for 1512 PHY 2015-08-18 14:06:04 -07:00
e1000_regs.h igb: implement high frequency periodic output signals 2015-08-18 14:06:04 -07:00
igb.h igb: Fix oops caused by missing queue pairing 2015-08-18 14:06:03 -07:00
igb_ethtool.c igb: Fix oops caused by missing queue pairing 2015-08-18 14:06:03 -07:00
igb_hwmon.c
igb_main.c igb: Teardown SR-IOV before unregister_netdev() 2015-08-18 14:06:05 -07:00
igb_ptp.c igb: implement high frequency periodic output signals 2015-08-18 14:06:04 -07:00
Makefile