]> 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)
commita3ab0b5b08ba309b567374a372f3ad0072e3f465
tree1185661e0b45731a3c52278277729f73fce6e85c
parent001f75934f9067cdec1a857bb34f5f925457be83
parent279eeafa1e420f6911c3a333157b88f924ac23c7
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 d6a0718 "mac802154:
llsec: add forgotten list_del_rcu in key removal"
====================

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