megaraid: Make use of pcim_enable_msix() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
ntb: Fix missed call to pci_enable_msix()

Current MSI-X enablement code assumes MSI-Xs were successfully
allocated in case less than requested vectors were available.
That assumption is wrong, since MSI-Xs should be enabled with
a repeated call to pci_enable_msix(). This update fixes this.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Jon Mason <jon.mason@intel.com>
ntb: Make use of pcim_enable_msix/msix_exact() interfaces

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
qib: Make use of pcim_enable_msix() and pci_msix_table_size() interfaces

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
qla2xxx: Make use of pcim_enable_msix_range() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
qlge: Get rid of an redundant assignment

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
qlge: Make use of pcim_enable_msix() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
vmxnet3: Return -EINVAL if number of requested MSI-Xs is not enough

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
vmxnet3: Fixup a weird loop exit

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
vmxnet3: Return -ENOSPC when not enough MSI-X vectors available

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
vmxnet3: Limit number of rx queues to 1 if per-queue MSI-Xs failed

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
vmxnet3: Make use of pcim_enable_msix_range() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
tg3: Make use of pcim_enable_msix() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
igb: Make use of pcim_enable_msix_exact() interface

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>