net/mlx5_core: Fix min vectors value in mlx5_enable_msix
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 2 Dec 2014 10:26:12 +0000 (12:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:45:54 +0000 (20:45 -0500)
commit3a9e161a59b29b3aa2f39446b26622867322bf2b
tree24812c15ddd1f90c3ea0ffa26a72631fc45679f5
parentf66f049fb7385d01464a2126443addc2db54e473
net/mlx5_core: Fix min vectors value in mlx5_enable_msix

mlx5 requires at least one interrupt vector for completions so fix the minvec
argument to pci_enable_msix_range() accordingly.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c