]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx4'
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 21:59:21 +0000 (14:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 21:59:21 +0000 (14:59 -0700)
commit187d939c07ff4d5fe16fee40cbb928c08329c7a4
tree1185661e0b45731a3c52278277729f73fce6e85c
parent1227a8826a06fc284fbfdab56dad9f5b5e4be34c
parentd1881be202009daa9c0722e0bb0cb22a57912aa8
Merge branch 'mlx4'

Amir Vadai says:

====================
cpumask,net: affinity hint helper function

This patchset will set affinity hint to influence IRQs to be allocated on the
same NUMA node as the one where the card resides. As discussed in
http://www.spinics.net/lists/netdev/msg271497.html

If number of IRQs allocated is greater than the number of local NUMA cores, all
local cores will be used first, and the rest of the IRQs will be on a remote
NUMA node.
If no NUMA support - IRQ's and cores will be mapped 1:1

Since the utility function to calculate the mapping could be useful in other mq
drivers in the kernel, it was added to cpumask.[ch]

This patchset was tested and applied on top of net-next since the first
consumer is a network device (mlx4_en).  Over commit 255360c "mac802154:
llsec: add forgotten list_del_rcu in key removal"
====================

Signed-off-by: David S. Miller <davem@davemloft.net>