diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 79f5519e2aa9..d98113472a89 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -36,6 +36,9 @@ | |||
36 | #include "ixgbe_type.h" | 36 | #include "ixgbe_type.h" |
37 | #include "ixgbe_common.h" | 37 | #include "ixgbe_common.h" |
38 | 38 | ||
39 | #ifdef CONFIG_DCA | ||
40 | #include <linux/dca.h> | ||
41 | #endif | ||
39 | 42 | ||
40 | #define IXGBE_ERR(args...) printk(KERN_ERR "ixgbe: " args) | 43 | #define IXGBE_ERR(args...) printk(KERN_ERR "ixgbe: " args) |
41 | 44 | ||
@@ -142,6 +145,11 @@ struct ixgbe_ring { | |||
142 | u16 reg_idx; /* holds the special value that gets the hardware register | 145 | u16 reg_idx; /* holds the special value that gets the hardware register |
143 | * offset associated with this ring, which is different | 146 | * offset associated with this ring, which is different |
144 | * for DCE and RSS modes */ | 147 | * for DCE and RSS modes */ |
148 | |||
149 | #ifdef CONFIG_DCA | ||
150 | /* cpu for tx queue */ | ||
151 | int cpu; | ||
152 | #endif | ||
145 | struct ixgbe_queue_stats stats; | 153 | struct ixgbe_queue_stats stats; |
146 | u8 v_idx; /* maps directly to the index for this ring in the hardware | 154 | u8 v_idx; /* maps directly to the index for this ring in the hardware |
147 | * vector array, can also be used for finding the bit in EICR | 155 | * vector array, can also be used for finding the bit in EICR |
@@ -261,6 +269,7 @@ struct ixgbe_adapter { | |||
261 | #define IXGBE_FLAG_IMIR_ENABLED (u32)(1 << 5) | 269 | #define IXGBE_FLAG_IMIR_ENABLED (u32)(1 << 5) |
262 | #define IXGBE_FLAG_RSS_ENABLED (u32)(1 << 6) | 270 | #define IXGBE_FLAG_RSS_ENABLED (u32)(1 << 6) |
263 | #define IXGBE_FLAG_VMDQ_ENABLED (u32)(1 << 7) | 271 | #define IXGBE_FLAG_VMDQ_ENABLED (u32)(1 << 7) |
272 | #define IXGBE_FLAG_DCA_ENABLED (u32)(1 << 8) | ||
264 | 273 | ||
265 | /* OS defined structs */ | 274 | /* OS defined structs */ |
266 | struct net_device *netdev; | 275 | struct net_device *netdev; |