]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Remove shared_ports variable at mlx4_enable_msi_x
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Wed, 7 Oct 2015 16:31:46 +0000 (12:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 12:20:24 +0000 (05:20 -0700)
commitcb0dabf1aea2f5f98ee45e5adc8bd5fcbec1818a
treecbdb2c33b6765593495404a7d56ba3d58d00cd59
parentec41fce84f6fd81ed66feed0d2710001b19e84d5
net/mlx4: Remove shared_ports variable at mlx4_enable_msi_x

If we get MAX_MSIX interrupts would like to have each receive ring
with his own msix interrupt line. Do not need the shared_ports
variable at mlx4_enable_msix

Fixes: 66571c9408d5 ('net/mlx4_core: Capping number of requested MSIXs to MAX_MSIX')
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Acked-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c