linux_dsm_epyc7002/drivers/net/ethernet/intel
Mitch Williams 9e5634dfb4 i40e: Don't disable SR-IOV when VFs are assigned
When VFs are assigned to active VMs and we disable SR-IOV out from under them,
bad things happen. Currently, the VM does not crash, but the VFs lose all
resources and have no way to get them back.

Add an additional check for when the user is disabling through sysfs, and add a
comment to clarify why we check twice.

Change-ID: Icad78eef516e4e1e4a87874d59132bc3baa058d4
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-05-21 03:36:56 -07:00
..
e1000 net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
e1000e net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
i40e i40e: Don't disable SR-IOV when VFs are assigned 2014-05-21 03:36:56 -07:00
i40evf i40e/i40evf: control auto ITR through ethtool 2014-05-21 03:19:54 -07:00
igb net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
igbvf net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgb net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgbe net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgbevf net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
e100.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00