Searched refs:total_vecs (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/intel/idpf/ |
| 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()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 11368 int i, total_vecs, max, rc = 0, min = 1, ulp_msix, tx_cp, tbl_size; in bnxt_init_int_mode() local 11370 total_vecs = bnxt_get_num_msix(bp); in bnxt_init_int_mode() 11372 if (total_vecs > max) in bnxt_init_int_mode() 11373 total_vecs = max; in bnxt_init_int_mode() 11375 if (!total_vecs) in bnxt_init_int_mode() 11381 total_vecs = pci_alloc_irq_vectors(bp->pdev, min, total_vecs, in bnxt_init_int_mode() 11384 if (total_vecs < 0 || total_vecs < ulp_msix) { in bnxt_init_int_mode() 11389 tbl_size = total_vecs; in bnxt_init_int_mode() 11394 for (i = 0; i < total_vecs; i++) in bnxt_init_int_mode() 11397 bp->total_irqs = total_vecs; in bnxt_init_int_mode() [all …]
|