diff options
author | Peter Waskiewicz <peter.p.waskiewicz.jr@intel.com> | 2010-10-04 21:27:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-07 02:48:09 -0400 |
commit | b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10 (patch) | |
tree | 2a7cabafb223a741dcd5e7b833a941ee59d53b20 /drivers/net/ixgbe/ixgbe.h | |
parent | 9deec17f9fe260f1b6467748fe5e16feea8e98f0 (diff) |
ixgbe: Use affinity_hint when Flow Director is enabled
Use the new infrastructure to balance interrupts for flow
alignment when ATR or Flow Director are enabled.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 5cebc3755b64..a8c47b01a6fa 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/types.h> | 31 | #include <linux/types.h> |
32 | #include <linux/pci.h> | 32 | #include <linux/pci.h> |
33 | #include <linux/netdevice.h> | 33 | #include <linux/netdevice.h> |
34 | #include <linux/cpumask.h> | ||
34 | #include <linux/aer.h> | 35 | #include <linux/aer.h> |
35 | 36 | ||
36 | #include "ixgbe_type.h" | 37 | #include "ixgbe_type.h" |
@@ -241,6 +242,7 @@ struct ixgbe_q_vector { | |||
241 | u8 tx_itr; | 242 | u8 tx_itr; |
242 | u8 rx_itr; | 243 | u8 rx_itr; |
243 | u32 eitr; | 244 | u32 eitr; |
245 | cpumask_var_t affinity_mask; | ||
244 | }; | 246 | }; |
245 | 247 | ||
246 | /* Helper macros to switch between ints/sec and what the register uses. | 248 | /* Helper macros to switch between ints/sec and what the register uses. |