diff options
author | Peter Waskiewicz <peter.p.waskiewicz.jr@intel.com> | 2010-10-05 01:27:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 23:48:09 -0700 |
commit | b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10 (patch) | |
tree | 2a7cabafb223a741dcd5e7b833a941ee59d53b20 /drivers/net/ixgbe/ixgbe.h | |
parent | 9deec17f9fe260f1b6467748fe5e16feea8e98f0 (diff) | |
download | blackbird-op-linux-b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10.tar.gz blackbird-op-linux-b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10.zip |
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 @@ #include <linux/types.h> #include <linux/pci.h> #include <linux/netdevice.h> +#include <linux/cpumask.h> #include <linux/aer.h> #include "ixgbe_type.h" @@ -241,6 +242,7 @@ struct ixgbe_q_vector { u8 tx_itr; u8 rx_itr; u32 eitr; + cpumask_var_t affinity_mask; }; /* Helper macros to switch between ints/sec and what the register uses. |