]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ae6481301bc28d08b9e61105daadd1a55b675cc
treebf522e46e520e5edf6a66116ba0d158a1a558de9
parent2c0d7cc19b7b0e98e47a936e1345409ccb2e55c8
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