enic: assign affinity hint to interrupts
authorGovindarajulu Varadarajan <_govind@gmx.com>
Fri, 30 Oct 2015 11:22:51 +0000 (16:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2015 20:08:00 +0000 (15:08 -0500)
commit322cf7e3a4e89236ae386cb5668ae0d787d21136
tree3443cc196e6bfd7a8ddb87f8704ae738824d78a0
parent9920e48b830a0f4ec06bcbf0ec3147c88ae72bac
enic: assign affinity hint to interrupts

The affinity hint is used by the user space daemon, irqbalancer, to
indicate a preferred CPU mask for irqs. This patch sets the irq affinity
hint to local numa core first, when exausted we try non-local numa cores.

Also set tx xps cpus mask bassed on affinity hint.

v2: remove the global affinity policy.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_main.c