diff options
author | Ido Shamay <idos@mellanox.com> | 2015-05-31 09:30:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-30 23:35:34 -0700 |
commit | de1618034ae5704f9e503a20a1c328a0e60f6b5f (patch) | |
tree | 087fda66574fdf8e4b18397aa3261f55c3901891 /kernel/bpf/arraymap.c | |
parent | c66fa19c405a36673d4aab13658c8246413d5c0f (diff) |
net/mlx4_core: Move affinity hints to mlx4_core ownership
Now that EQs management is in the sole responsibility of mlx4_core,
the IRQ affinity hints configuration should be in its hands as well.
request_irq is called only once by the first consumer (maybe mlx4_ib),
so mlx4_en passes the affinity mask too late. We also need to request
vectors according to the cores we want to run on.
mlx4_core distribution of IRQs to cores is straight forward,
EQ(i)->IRQ will set affinity hint to core i.
Consumers need to request EQ vectors, according to their cores
considerations (NUMA).
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions