Yeah, the code as it is should be OK:

        err = pci_enable_msix(mdev->pdev, entries, ARRAY_SIZE(entries));
        if (err) {
                if (err > 0)
                        mthca_info(mdev, "Only %d MSI-X vectors available, "
                                   "not using MSI-X\n", err);
                return err;
        }

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to