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)
commit9b07d735c01a2ccace4d49b22232dd0097ec05b6
tree1185661e0b45731a3c52278277729f73fce6e85c
parentd4f3862017f9aaa1a6b6bade396a99a4b77e2cb2
parent9e311e77a85e37b5caec3d64c3593cd52b2cdb71
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 fff1f59 "mac802154:
llsec: add forgotten list_del_rcu in key removal"
====================

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