]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_core: use msi_x module param to limit num of MSI-X irqs
authorMoshe Lazer <moshel@mellanox.com>
Tue, 5 Mar 2013 12:08:47 +0000 (14:08 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:10 +0000 (14:45 -0700)
commit4d37ca5ca6d6bf10342fbd13460c8dfd43cbf168
tree082b1dc4212b537b9982ae149bd5edf3c50c14a6
parentc0596ff15a1fc2d21bfecd7b83f4522f40af330c
mlx4_core: use msi_x module param to limit num of MSI-X irqs

The msi_x module param usage is:
0 - don't use MSI-X
1 - use MSI-X (driver decide the num of MSI-X irqs)
>1 - limit number of MSI-X irqs to msi_x
In case of SRIOV the msi_x>1 treated as msi_x==1

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4/main.c