Searched refs:total_vecs (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 9126 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; in bnxt_init_msix() 9129 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_msix() 9131 if (total_vecs > max) in bnxt_init_msix() 9132 total_vecs = max; in bnxt_init_msix() 9134 if (!total_vecs) in bnxt_init_msix() 9137 msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); in bnxt_init_msix() 9141 for (i = 0; i < total_vecs; i++) { in bnxt_init_msix() 9149 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); in bnxt_init_msix() 9151 if (total_vecs < in bnxt_init_msix() 9125 int i, total_vecs, max, rc = 0, min = 1, ulp_msix; bnxt_init_msix() local [all...] |
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 6251 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()
|