linux/drivers/net/ethernet/intel/igb
Stefan Assmann f557147c46 igb: Change how we check for pre-existing and assigned VFs
Adapt the pre-existing and assigned VFs code to the ixgbe way introduced
in commit 9297127b9c.

Instead of searching the enabled VFs we use pci_num_vf to determine enabled VFs.
By comparing to which PF an assigned VF is owned it's possible to decide
whether to leave it enabled or not.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Robert Garrett <robertx.e.garrett@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-09-22 01:38:31 -07:00
..
e1000_82575.c igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_82575.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_defines.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_hw.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_nvm.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_phy.c igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_phy.h igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_regs.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
igb_ethtool.c igb: Correct PTP support query from ethtool. 2012-09-17 02:04:18 -07:00
igb_main.c igb: Change how we check for pre-existing and assigned VFs 2012-09-22 01:38:31 -07:00
igb_ptp.c igb: Add 1588 support to I210/I211. 2012-09-17 02:04:27 -07:00
igb.h igb: Change how we check for pre-existing and assigned VFs 2012-09-22 01:38:31 -07:00
Makefile igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00