Home
last modified time | relevance | path

Searched refs:total_vecs (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c125 int total_vecs; in bnxt_req_msix_vecs() local
154 total_vecs = idx + avail_msix; in bnxt_req_msix_vecs()
155 if (bp->total_irqs < total_vecs || in bnxt_req_msix_vecs()
156 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()
H A Dbnxt.c8646 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; in bnxt_init_msix() local
8649 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_msix()
8651 if (total_vecs > max) in bnxt_init_msix()
8652 total_vecs = max; in bnxt_init_msix()
8654 if (!total_vecs) in bnxt_init_msix()
8657 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); in bnxt_init_msix()
8661 for (i = 0; i < total_vecs; i++) { in bnxt_init_msix()
8669 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); in bnxt_init_msix()
8671 if (total_vecs < in bnxt_init_msix()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c9134 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; in bnxt_init_msix() local
9137 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_msix()
9139 if (total_vecs > max) in bnxt_init_msix()
9140 total_vecs = max; in bnxt_init_msix()
9142 if (!total_vecs) in bnxt_init_msix()
9145 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); in bnxt_init_msix()
9149 for (i = 0; i < total_vecs; i++) { in bnxt_init_msix()
9157 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); in bnxt_init_msix()
9159 if (total_vecs < in bnxt_init_msix()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbnx2.c6267 int i, total_vecs; in bnx2_enable_msix() local
6286 total_vecs = msix_vecs; in bnx2_enable_msix()
6288 total_vecs++; in bnx2_enable_msix()
6290 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, in bnx2_enable_msix()
6291 BNX2_MIN_MSIX_VEC, total_vecs); in bnx2_enable_msix()
6292 if (total_vecs < 0) in bnx2_enable_msix()
6295 msix_vecs = total_vecs; in bnx2_enable_msix()
6301 for (i = 0; i < total_vecs; i++) { in bnx2_enable_msix()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbnx2.c6251 int i, total_vecs; in bnx2_enable_msix() local
6270 total_vecs = msix_vecs; in bnx2_enable_msix()
6272 total_vecs++; in bnx2_enable_msix()
6274 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, in bnx2_enable_msix()
6275 BNX2_MIN_MSIX_VEC, total_vecs); in bnx2_enable_msix()
6276 if (total_vecs < 0) in bnx2_enable_msix()
6279 msix_vecs = total_vecs; in bnx2_enable_msix()
6285 for (i = 0; i < total_vecs; i++) { in bnx2_enable_msix()

Completed in 42 milliseconds