]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
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 fff1f59 "mac802154:
llsec: add forgotten list_del_rcu in key removal"
====================

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

Trivial merge