diff options
author | Yi Zou <yi.zou@intel.com> | 2009-05-17 08:33:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:04:09 -0400 |
commit | 0331a832a88d4bf34baf289b82e2829763230143 (patch) | |
tree | 570911439293f524b29f1462270d2e0ad3499cf6 /drivers/net/ixgbe/ixgbe.h | |
parent | 184dd3459bb334d9061b58faed3610d08d6c7ff8 (diff) |
ixgbe: Add RING_F_FCOE for FCoE feature in 82599
Add ring feature for FCoE to make use of the FCoE redirection
table in 82599. The FCoE redirection table is a receive side
scaling feature for Fiber Channel over Ethernet feature in 82599,
enabling distributing FCoE packets to different receive queues
based on the exchange id.
Signed-off-by: Yi Zou <yi.zou@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/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index db6d3ea1b9f0..94b04657576b 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -161,6 +161,9 @@ enum ixgbe_ring_f_enum { | |||
161 | RING_F_DCB, | 161 | RING_F_DCB, |
162 | RING_F_VMDQ, | 162 | RING_F_VMDQ, |
163 | RING_F_RSS, | 163 | RING_F_RSS, |
164 | #ifdef IXGBE_FCOE | ||
165 | RING_F_FCOE, | ||
166 | #endif /* IXGBE_FCOE */ | ||
164 | 167 | ||
165 | RING_F_ARRAY_SIZE /* must be last in enum set */ | 168 | RING_F_ARRAY_SIZE /* must be last in enum set */ |
166 | }; | 169 | }; |
@@ -168,6 +171,9 @@ enum ixgbe_ring_f_enum { | |||
168 | #define IXGBE_MAX_DCB_INDICES 8 | 171 | #define IXGBE_MAX_DCB_INDICES 8 |
169 | #define IXGBE_MAX_RSS_INDICES 16 | 172 | #define IXGBE_MAX_RSS_INDICES 16 |
170 | #define IXGBE_MAX_VMDQ_INDICES 16 | 173 | #define IXGBE_MAX_VMDQ_INDICES 16 |
174 | #ifdef IXGBE_FCOE | ||
175 | #define IXGBE_MAX_FCOE_INDICES 8 | ||
176 | #endif /* IXGBE_FCOE */ | ||
171 | struct ixgbe_ring_feature { | 177 | struct ixgbe_ring_feature { |
172 | int indices; | 178 | int indices; |
173 | int mask; | 179 | int mask; |