Searched refs:total_vecs (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 126 int total_vecs; in bnxt_req_msix_vecs() local 155 total_vecs = idx + avail_msix; in bnxt_req_msix_vecs() 156 if (bp->total_irqs < total_vecs || in bnxt_req_msix_vecs() 157 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()
|
D | bnxt.c | 9115 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; in bnxt_init_msix() local 9118 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_msix() 9120 if (total_vecs > max) in bnxt_init_msix() 9121 total_vecs = max; in bnxt_init_msix() 9123 if (!total_vecs) in bnxt_init_msix() 9126 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); in bnxt_init_msix() 9130 for (i = 0; i < total_vecs; i++) { in bnxt_init_msix() 9138 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); in bnxt_init_msix() 9140 if (total_vecs < 0 || total_vecs < ulp_msix) { in bnxt_init_msix() 9145 bp->irq_tbl = kcalloc(total_vecs, sizeof(struct bnxt_irq), GFP_KERNEL); in bnxt_init_msix() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6268 int i, total_vecs; in bnx2_enable_msix() local 6287 total_vecs = msix_vecs; in bnx2_enable_msix() 6289 total_vecs++; in bnx2_enable_msix() 6291 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, in bnx2_enable_msix() 6292 BNX2_MIN_MSIX_VEC, total_vecs); in bnx2_enable_msix() 6293 if (total_vecs < 0) in bnx2_enable_msix() 6296 msix_vecs = total_vecs; in bnx2_enable_msix() 6302 for (i = 0; i < total_vecs; i++) { in bnx2_enable_msix()
|