aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixgbe/ixgbe.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index e98ace8c578d..c0e56aab5489 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -148,9 +148,15 @@ struct ixgbe_ring {
148 u16 rx_buf_len; 148 u16 rx_buf_len;
149}; 149};
150 150
151#define RING_F_DCB 0 151enum ixgbe_ring_f_enum {
152#define RING_F_VMDQ 1 152 RING_F_NONE = 0,
153#define RING_F_RSS 2 153 RING_F_DCB,
154 RING_F_VMDQ,
155 RING_F_RSS,
156
157 RING_F_ARRAY_SIZE /* must be last in enum set */
158};
159
154#define IXGBE_MAX_DCB_INDICES 8 160#define IXGBE_MAX_DCB_INDICES 8
155#define IXGBE_MAX_RSS_INDICES 16 161#define IXGBE_MAX_RSS_INDICES 16
156#define IXGBE_MAX_VMDQ_INDICES 16 162#define IXGBE_MAX_VMDQ_INDICES 16
@@ -249,7 +255,7 @@ struct ixgbe_adapter {
249 u64 non_eop_descs; 255 u64 non_eop_descs;
250 int num_msix_vectors; 256 int num_msix_vectors;
251 int max_msix_q_vectors; /* true count of q_vectors for device */ 257 int max_msix_q_vectors; /* true count of q_vectors for device */
252 struct ixgbe_ring_feature ring_feature[3]; 258 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
253 struct msix_entry *msix_entries; 259 struct msix_entry *msix_entries;
254 260
255 u64 rx_hdr_split; 261 u64 rx_hdr_split;