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 | 80 u16 total_vecs; in idpf_vf_intr_reg_init() local 82 total_vecs = idpf_get_reserved_vecs(vport->adapter); in idpf_vf_intr_reg_init() 83 reg_vals = kcalloc(total_vecs, sizeof(struct idpf_vec_regs), in idpf_vf_intr_reg_init()
|
H A D | idpf_dev.c | 81 u16 total_vecs; in idpf_intr_reg_init() local 83 total_vecs = idpf_get_reserved_vecs(vport->adapter); in idpf_intr_reg_init() 84 reg_vals = kcalloc(total_vecs, sizeof(struct idpf_vec_regs), in idpf_intr_reg_init()
|
H A D | idpf_lib.c | 306 int num_q_vecs, total_vecs, num_vec_ids; in idpf_intr_req() local 312 total_vecs = idpf_get_reserved_vecs(adapter); in idpf_intr_req() 313 num_lan_vecs = total_vecs; in idpf_intr_req() 331 num_q_vecs = total_vecs - IDPF_MBX_Q_VEC; in idpf_intr_req() 344 total_vecs, PCI_IRQ_MSIX); in idpf_intr_req() 353 if (actual_vecs < total_vecs) { in idpf_intr_req() 356 total_vecs, actual_vecs, IDPF_MIN_RDMA_VEC); in idpf_intr_req()
|
H A D | idpf_txrx.c | 4298 u16 *vecids, total_vecs; in idpf_vport_intr_init_vec_idx() local 4309 total_vecs = idpf_get_reserved_vecs(adapter); in idpf_vport_intr_init_vec_idx() 4310 vecids = kcalloc(total_vecs, sizeof(u16), GFP_KERNEL); in idpf_vport_intr_init_vec_idx() 4314 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 | 11325 int i, total_vecs, max, rc = 0, min = 1, ulp_msix, tx_cp, tbl_size; in bnxt_init_int_mode() local 11327 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_int_mode() 11329 if (total_vecs > max) in bnxt_init_int_mode() 11330 total_vecs = max; in bnxt_init_int_mode() 11332 if (!total_vecs) in bnxt_init_int_mode() 11338 total_vecs = pci_alloc_irq_vectors(bp->pdev, min, total_vecs, in bnxt_init_int_mode() 11341 if (total_vecs < 0 || total_vecs < ulp_msix) { in bnxt_init_int_mode() 11346 tbl_size = total_vecs; in bnxt_init_int_mode() 11351 for (i = 0; i < total_vecs; i++) in bnxt_init_int_mode() 11354 bp->total_irqs = total_vecs; in bnxt_init_int_mode() [all …]
|