Searched refs:total_vecs (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_vf_dev.c | 82 u16 total_vecs; in idpf_vf_intr_reg_init() local 84 total_vecs = idpf_get_reserved_vecs(vport->adapter); in idpf_vf_intr_reg_init() 85 reg_vals = kzalloc_objs(struct idpf_vec_regs, total_vecs); in idpf_vf_intr_reg_init()
|
| H A D | idpf_dev.c | 83 u16 total_vecs; in idpf_intr_reg_init() local 85 total_vecs = idpf_get_reserved_vecs(vport->adapter); in idpf_intr_reg_init() 86 reg_vals = kzalloc_objs(struct idpf_vec_regs, total_vecs); in idpf_intr_reg_init()
|
| H A D | idpf_lib.c | 308 int num_q_vecs, total_vecs, num_vec_ids; in idpf_intr_req() local 314 total_vecs = idpf_get_reserved_vecs(adapter); in idpf_intr_req() 315 num_lan_vecs = total_vecs; in idpf_intr_req() 333 num_q_vecs = total_vecs - IDPF_MBX_Q_VEC; in idpf_intr_req() 346 total_vecs, PCI_IRQ_MSIX); in idpf_intr_req() 355 if (actual_vecs < total_vecs) { in idpf_intr_req() 358 total_vecs, actual_vecs, IDPF_MIN_RDMA_VEC); in idpf_intr_req()
|
| H A D | idpf_txrx.c | 4484 u16 *vecids, total_vecs; in idpf_vport_intr_init_vec_idx() local 4497 total_vecs = idpf_get_reserved_vecs(adapter); in idpf_vport_intr_init_vec_idx() 4498 vecids = kcalloc(total_vecs, sizeof(u16), GFP_KERNEL); in idpf_vport_intr_init_vec_idx() 4502 idpf_get_vec_ids(adapter, vecids, total_vecs, &ac->vchunks); in idpf_vport_intr_init_vec_idx()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bnx2.c | 6252 int i, total_vecs; in bnx2_enable_msix() local 6271 total_vecs = msix_vecs; in bnx2_enable_msix() 6273 total_vecs++; in bnx2_enable_msix() 6275 total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, in bnx2_enable_msix() 6276 BNX2_MIN_MSIX_VEC, total_vecs); in bnx2_enable_msix() 6277 if (total_vecs < 0) in bnx2_enable_msix() 6280 msix_vecs = total_vecs; in bnx2_enable_msix() 6286 for (i = 0; i < total_vecs; i++) { in bnx2_enable_msix()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 11432 int i, total_vecs, max, rc = 0, min = 1, ulp_msix, tx_cp, tbl_size; in bnxt_init_int_mode() local 11434 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_int_mode() 11436 if (total_vecs > max) in bnxt_init_int_mode() 11437 total_vecs = max; in bnxt_init_int_mode() 11439 if (!total_vecs) in bnxt_init_int_mode() 11445 total_vecs = pci_alloc_irq_vectors(bp->pdev, min, total_vecs, in bnxt_init_int_mode() 11448 if (total_vecs < 0 || total_vecs < ulp_msix) { in bnxt_init_int_mode() 11453 tbl_size = total_vecs; in bnxt_init_int_mode() 11458 for (i = 0; i < total_vecs; i++) in bnxt_init_int_mode() 11461 bp->total_irqs = total_vecs; in bnxt_init_int_mode() [all …]
|