msi_x
static int msi_x = 1;
module_param(msi_x, int, 0444);
MODULE_PARM_DESC(msi_x, "attempt to use MSI-X if nonzero");
if (msi_x && !mthca_enable_msi_x(mdev))
if (msi_x) {
if (msi_x > 1)
nreq = min_t(int, nreq, msi_x);
if (msi_x < 0) {
pr_warn("mlx4_core: bad msi_x: %d\n", msi_x);
static int msi_x = 1;
module_param(msi_x, int, 0444);
MODULE_PARM_DESC(msi_x, "0 - don't use MSI-X, 1 - use MSI-X, >1 - limit number of MSI-X irqs to msi_x");