aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2011-08-23 22:37:55 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-09-23 12:05:49 -0400
commitc6bda30a06d925b68d86e61c289d3ce980d4a36c (patch)
treee14952dff4f762c43315c9e98a216640e45014ef /drivers/net/ethernet/intel/ixgbe/ixgbe.h
parent6777829cfe1c4ed78319ad40aaee60254222da76 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
index 2c9fdf8ef5f..b43b2cde49d 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
@@ -128,6 +128,7 @@ struct vf_data_storage {
128 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ 128 u16 pf_vlan; /* When set, guest VLAN config not allowed. */
129 u16 pf_qos; 129 u16 pf_qos;
130 u16 tx_rate; 130 u16 tx_rate;
131 struct pci_dev *vfdev;
131}; 132};
132 133
133struct vf_macvlans { 134struct vf_macvlans {