linux/drivers/net/ethernet/intel/i40e
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
..
i40e_adminq_cmd.h i40e/i40evf: update AdminQ API 2014-04-22 03:10:50 -07:00
i40e_adminq.c i40e/i40evf: add tracking to NVM busy state 2014-04-21 21:26:52 -07:00
i40e_adminq.h i40e/i40evf: add tracking to NVM busy state 2014-04-21 21:26:52 -07:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: Retrieve and store missing link config information 2014-04-28 05:58:57 -07:00
i40e_dcb_nl.c i40e: add DCB and DCBNL support 2014-01-17 19:13:04 -08:00
i40e_dcb.c i40e: Fix static checker warning 2014-03-06 18:41:50 -08:00
i40e_dcb.h i40e: implement DCB support infastructure 2014-01-17 19:13:04 -08:00
i40e_debugfs.c i40e: Do not expose fd-sb commands from debugfs 2014-04-28 05:43:44 -07:00
i40e_diag.c i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: remove hardcode of stats struct size in ethtool 2014-05-21 03:28:49 -07:00
i40e_hmc.c i40e: use assignment instead of memcpy 2014-01-10 16:30:31 -08:00
i40e_hmc.h i40e: Cleanup Doxygen warnings 2014-01-10 16:30:33 -08:00
i40e_lan_hmc.c i40e/i40evf: unhide and enable to one prefena field 2014-04-21 20:35:42 -07:00
i40e_lan_hmc.h i40e/i40evf: unhide and enable to one prefena field 2014-04-21 20:35:42 -07:00
i40e_main.c i40e/i40evf: set proper default for ITR registers 2014-05-21 03:12:09 -07:00
i40e_nvm.c e1000e/igb/ixgbe/i40e: fix message terminations 2014-04-18 18:41:24 -07:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e: Update function formal parameters 2014-04-28 05:51:34 -07:00
i40e_ptp.c i40e: remove ptp_tx_work timestamp work item 2014-04-28 03:39:54 -07:00
i40e_register.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e: add required include 2014-05-21 02:03:18 -07:00
i40e_txrx.h i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_type.h i40e/i40evf: Retrieve and store missing link config information 2014-04-28 05:58:57 -07:00
i40e_virtchnl_pf.c i40e: Don't disable SR-IOV when VFs are assigned 2014-05-21 03:36:56 -07:00
i40e_virtchnl_pf.h i40e: Enable VF Tx bandwidth setting 2014-04-21 20:54:06 -07:00
i40e_virtchnl.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e.h i40e: add required include 2014-05-21 02:03:18 -07:00
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00