From: Ido Shamay Date: Sun, 31 May 2015 06:30:17 +0000 (+0300) Subject: net/mlx4_core: Move affinity hints to mlx4_core ownership X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~182^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1618034ae5704f9e503a20a1c328a0e60f6b5f;p=pandora-kernel.git 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 Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed