ixgbe: Reconfigure SR-IOV Init
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 24 Aug 2011 02:37:55 +0000 (02:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2011 16:05:49 +0000 (09:05 -0700)
commitc6bda30a06d925b68d86e61c289d3ce980d4a36c
treee14952dff4f762c43315c9e98a216640e45014ef
parent6777829cfe1c4ed78319ad40aaee60254222da76
ixgbe: Reconfigure SR-IOV Init

Use the PCI device flag indicating if a VF is assigned to a guest VM
to guard against destroying VFs upon driver removal.  Implement
additional feature to detect if VFs already exist when the driver
is loaded and if so configure them and set the driver state to
SR-IOV enabled.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h