]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Avoid failing the interrupts test
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Thu, 8 Oct 2015 12:26:15 +0000 (15:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:43:38 +0000 (07:43 -0700)
commit8432b82628ebb9936f7937c30143cd2112669139
treede2d3fa7d7712972316c4d0a55ffe98345233c41
parentcb0dabf1aea2f5f98ee45e5adc8bd5fcbec1818a
net/mlx4_core: Avoid failing the interrupts test

Test interrupts fails if not all completion vectors called
request_irq. This case happens if only mlx4_en is loaded and
we have more completion vectors than rx rings.

Fixes: c6bd4c77a7d0 ('net/mlx4: Add EQ pool')
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Acked-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c