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)
commit820d39f3c497df6c8e040b8dcc7c19eeaa312701
treede2d3fa7d7712972316c4d0a55ffe98345233c41
parent85121d6ee6973f98789bf7343f7f636c01e2de19
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: c66fa19c405a ('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