diff options
author | Williams, Mitch A <mitch.a.williams@intel.com> | 2010-02-10 01:44:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-12 16:56:09 -0800 |
commit | 8151d2948e088c20b7d29c793cf1fd744b6a2699 (patch) | |
tree | a92553bd15f1ee88f0d18b8975f90222303e38f1 /drivers/net/igb/igb.h | |
parent | ebc08a6f47ee76ecad8e9f26c26e6ec9b46ca659 (diff) | |
download | talos-op-linux-8151d2948e088c20b7d29c793cf1fd744b6a2699.tar.gz talos-op-linux-8151d2948e088c20b7d29c793cf1fd744b6a2699.zip |
igb: support for VF configuration tools
Add support to the igb driver for VF configuration mechanisms through the
PF interface.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index b1c1eb88893f..83ea11701f45 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -75,11 +75,14 @@ struct vf_data_storage { u16 vlans_enabled; u32 flags; unsigned long last_nack; + u16 pf_vlan; /* When set, guest VLAN config not allowed. */ + u16 pf_qos; }; #define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */ #define IGB_VF_FLAG_UNI_PROMISC 0x00000002 /* VF has unicast promisc */ #define IGB_VF_FLAG_MULTI_PROMISC 0x00000004 /* VF has multicast promisc */ +#define IGB_VF_FLAG_PF_SET_MAC 0x00000008 /* PF has set MAC address */ /* RX descriptor control thresholds. * PTHRESH - MAC will consider prefetch if it has fewer than this number of |