We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f903bdb + 7c07bc0 commit 6ed6736Copy full SHA for 6ed6736
drivers/infiniband/hw/irdma/hw.c
@@ -483,6 +483,8 @@ static int irdma_save_msix_info(struct irdma_pci_f *rf)
483
iw_qvlist->num_vectors = rf->msix_count;
484
if (rf->msix_count <= num_online_cpus())
485
rf->msix_shared = true;
486
+ else if (rf->msix_count > num_online_cpus() + 1)
487
+ rf->msix_count = num_online_cpus() + 1;
488
489
pmsix = rf->msix_entries;
490
for (i = 0, ceq_idx = 0; i < rf->msix_count; i++, iw_qvinfo++) {
0 commit comments