diff options
author | Williams, Mitch A <mitch.a.williams@intel.com> | 2010-02-09 20:44:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-12 19:56:09 -0500 |
commit | 8151d2948e088c20b7d29c793cf1fd744b6a2699 (patch) | |
tree | a92553bd15f1ee88f0d18b8975f90222303e38f1 /drivers/net/igb/igb.h | |
parent | ebc08a6f47ee76ecad8e9f26c26e6ec9b46ca659 (diff) |
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 { | |||
75 | u16 vlans_enabled; | 75 | u16 vlans_enabled; |
76 | u32 flags; | 76 | u32 flags; |
77 | unsigned long last_nack; | 77 | unsigned long last_nack; |
78 | u16 pf_vlan; /* When set, guest VLAN config not allowed. */ | ||
79 | u16 pf_qos; | ||
78 | }; | 80 | }; |
79 | 81 | ||
80 | #define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */ | 82 | #define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */ |
81 | #define IGB_VF_FLAG_UNI_PROMISC 0x00000002 /* VF has unicast promisc */ | 83 | #define IGB_VF_FLAG_UNI_PROMISC 0x00000002 /* VF has unicast promisc */ |
82 | #define IGB_VF_FLAG_MULTI_PROMISC 0x00000004 /* VF has multicast promisc */ | 84 | #define IGB_VF_FLAG_MULTI_PROMISC 0x00000004 /* VF has multicast promisc */ |
85 | #define IGB_VF_FLAG_PF_SET_MAC 0x00000008 /* PF has set MAC address */ | ||
83 | 86 | ||
84 | /* RX descriptor control thresholds. | 87 | /* RX descriptor control thresholds. |
85 | * PTHRESH - MAC will consider prefetch if it has fewer than this number of | 88 | * PTHRESH - MAC will consider prefetch if it has fewer than this number of |