summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/cq.c
diff options
context:
space:
mode:
authorIdo Shamay2015-05-31 08:30:17 +0200
committerDavid S. Miller2015-05-31 08:35:34 +0200
commitde1618034ae5704f9e503a20a1c328a0e60f6b5f (patch)
tree087fda66574fdf8e4b18397aa3261f55c3901891 /drivers/net/ethernet/mellanox/mlx4/cq.c
parentnet/mlx4: Add EQ pool (diff)
downloadkernel-qcow2-linux-de1618034ae5704f9e503a20a1c328a0e60f6b5f.tar.gz
kernel-qcow2-linux-de1618034ae5704f9e503a20a1c328a0e60f6b5f.tar.xz
kernel-qcow2-linux-de1618034ae5704f9e503a20a1c328a0e60f6b5f.zip
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 'drivers/net/ethernet/mellanox/mlx4/cq.c')
0 files changed, 0 insertions, 0 deletions