diff options
author | Peter Waskiewicz | 2010-10-05 03:27:49 +0200 |
---|---|---|
committer | David S. Miller | 2010-10-07 08:48:09 +0200 |
commit | b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10 (patch) | |
tree | 2a7cabafb223a741dcd5e7b833a941ee59d53b20 /drivers/net/ixgbe/ixgbe.h | |
parent | drivers/net/stmmac/: add HAS_IOMEM dependency (diff) | |
download | kernel-qcow2-linux-b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10.tar.gz kernel-qcow2-linux-b25ebfd21b03b3b59c1c7a7e0c597fd28286bb10.tar.xz kernel-qcow2-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. |