]> 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)
commitd4321a7479d0adb58fdf055ad77bb7627fc9c3fe
treede2d3fa7d7712972316c4d0a55ffe98345233c41
parent1f257a934e7269048d5f608af59b97e667047600
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: 5d1176cc9598 ('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