ionic: improve irq numa locality
authorShannon Nelson <snelson@pensando.io>
Sat, 7 Mar 2020 01:04:03 +0000 (17:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:34:04 +0000 (19:34 -0700)
commitb7f55b81f2ac40e52c5a56e22c80488eac531c91
treebf522e46e520e5edf6a66116ba0d158a1a558de9
parent5dca69c425bcd9b6a9295156e2ba716e42a78557
ionic: improve irq numa locality

Spreading the interrupts across the CPU cores is good for load
balancing, but not necessarily as good when using a CPU/core
that is not part of the NUMA local CPU.  If it can be localized,
the kernel's cpumask_local_spread() service will pick a core
that is on the node close to the PCI device.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c