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 9297127b9cdd8d30c829ef5fd28b7cc0323a7bcd.

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
..
2012-06-06 09:31:33 -07:00
2012-06-06 09:31:33 -07:00
2012-09-05 17:49:28 -04:00
2012-06-06 09:31:33 -07:00
2012-07-16 22:38:27 -07:00
2012-08-08 16:07:51 -07:00
2012-07-26 14:30:23 -07:00
2012-05-02 20:52:48 -04:00
2012-07-09 14:42:30 -07:00
2012-06-06 09:31:33 -07:00
2012-07-16 22:38:27 -07:00
2012-06-06 09:31:33 -07:00
2012-07-16 22:38:27 -07:00
2012-07-16 22:38:27 -07:00
2012-07-18 09:40:54 -07:00
2012-02-22 14:44:41 -05:00
2012-07-16 22:38:27 -07:00