[PATCH v2 2/2] ixgbe: Teardown SR-IOV before unregister_netdev()

2015-07-29 Thread Alex Williamson
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

[PATCH v2 2/2] ixgbe: Teardown SR-IOV before unregister_netdev()

2015-07-29 Thread Alex Williamson
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