Home
last modified time | relevance | path

Searched refs:num_msix (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c100 int num_msix, idx, i; in bnxt_fill_msix_vecs() local
102 num_msix = edev->ulp_tbl[BNXT_ROCE_ULP].msix_requested; in bnxt_fill_msix_vecs()
104 for (i = 0; i < num_msix; i++) { in bnxt_fill_msix_vecs()
112 struct bnxt_msix_entry *ent, int num_msix) in bnxt_req_msix_vecs() argument
131 avail_msix = bnxt_get_avail_msix(bp, num_msix); in bnxt_req_msix_vecs()
134 if (avail_msix > num_msix) in bnxt_req_msix_vecs()
135 avail_msix = num_msix; in bnxt_req_msix_vecs()
Dbnxt_hsi.h1270 __le16 num_msix; member
Dbnxt.c5750 req->num_msix = cpu_to_le16(cp_rings); in __bnxt_hwrm_reserve_pf_rings()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c689 int num_msix = 0, err = 0, vector; in qlcnic_setup_tss_rss_intr() local
694 num_msix += adapter->drv_tss_rings; in qlcnic_setup_tss_rss_intr()
696 num_msix += adapter->drv_tx_rings; in qlcnic_setup_tss_rss_intr()
699 num_msix += adapter->drv_rss_rings; in qlcnic_setup_tss_rss_intr()
701 num_msix += adapter->drv_sds_rings; in qlcnic_setup_tss_rss_intr()
704 num_msix += 1; in qlcnic_setup_tss_rss_intr()
707 adapter->msix_entries = kcalloc(num_msix, in qlcnic_setup_tss_rss_intr()
714 for (vector = 0; vector < num_msix; vector++) in qlcnic_setup_tss_rss_intr()
718 err = pci_enable_msix_exact(pdev, adapter->msix_entries, num_msix); in qlcnic_setup_tss_rss_intr()
725 num_msix, err); in qlcnic_setup_tss_rss_intr()
[all …]
Dqlcnic_83xx_hw.c347 int num_msix; in qlcnic_83xx_calculate_msix_vector() local
349 num_msix = adapter->drv_sds_rings; in qlcnic_83xx_calculate_msix_vector()
352 num_msix += 1; in qlcnic_83xx_calculate_msix_vector()
355 num_msix += adapter->drv_tx_rings; in qlcnic_83xx_calculate_msix_vector()
357 return num_msix; in qlcnic_83xx_calculate_msix_vector()
363 int err, i, num_msix; in qlcnic_83xx_setup_intr() local
369 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr()
371 num_msix = qlcnic_83xx_calculate_msix_vector(adapter); in qlcnic_83xx_setup_intr()
373 err = qlcnic_enable_msix(adapter, num_msix); in qlcnic_83xx_setup_intr()
378 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr()
[all …]
Dqlcnic_ctx.c776 for (i = 0; i < ahw->num_msix; i++) { in qlcnic_82xx_config_intrpt()
Dqlcnic.h491 u8 num_msix; member
Dqlcnic_sriov_pf.c1779 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8); in qlcnic_sriov_pf_reset()
Dqlcnic_83xx_init.c410 for (i = 0; i < adapter->ahw->num_msix; i++) { in qlcnic_83xx_idc_detach_driver()
Dqlcnic_sriov_common.c1719 u8 i, max_ints = ahw->num_msix - 1; in qlcnic_sriov_vf_detach()
/Linux-v5.4/drivers/scsi/isci/
Dinit.c330 int err, i, num_msix; in isci_setup_interrupts() local
338 num_msix = num_controllers(pdev) * SCI_NUM_MSI_X_INT; in isci_setup_interrupts()
340 err = pci_alloc_irq_vectors(pdev, num_msix, num_msix, PCI_IRQ_MSIX); in isci_setup_interrupts()
344 for (i = 0; i < num_msix; i++) { in isci_setup_interrupts()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dbnxt_re.h130 int num_msix; member
Dmain.c218 for (indx = BNXT_RE_NQ_IDX; indx < rdev->num_msix; indx++) { in bnxt_re_stop_irq()
247 for (indx = 0; indx < rdev->num_msix; indx++) in bnxt_re_start_irq()
252 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->num_msix; indx++) { in bnxt_re_start_irq()
348 rdev->num_msix = num_msix_got; in bnxt_re_request_msix()
908 for (i = 1; i < rdev->num_msix; i++) in bnxt_re_cleanup_res()
923 for (i = 1; i < rdev->num_msix ; i++) { in bnxt_re_init_res()
948 for (i = 0; i < rdev->num_msix - 1; i++) { in bnxt_re_free_nq_res()
997 for (i = 0; i < rdev->num_msix - 1; i++) { in bnxt_re_alloc_res()
Dib_verbs.c2593 nq = &rdev->nq[nq_alloc_cnt % (rdev->num_msix - 1)]; in bnxt_re_create_cq()
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c614 int num_msix) in netxen_setup_msi_interrupts() argument
621 netxen_init_msix_entries(adapter, num_msix); in netxen_setup_msi_interrupts()
623 num_msix, num_msix); in netxen_setup_msi_interrupts()
629 adapter->max_sds_rings = num_msix; in netxen_setup_msi_interrupts()
653 int num_msix; in netxen_setup_intr() local
656 num_msix = (num_online_cpus() >= MSIX_ENTRIES_PER_ADAPTER) ? in netxen_setup_intr()
659 num_msix = 1; in netxen_setup_intr()
668 if (!netxen_setup_msi_interrupts(adapter, num_msix)) in netxen_setup_intr()
674 netxen_setup_msi_interrupts(adapter, num_msix)) { in netxen_setup_intr()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c853 u16 num_msix, num_txq, num_rxq, num_avail_msix; in ice_check_avail_res() local
878 num_msix = ice_determine_res(pf, num_avail_msix, in ice_check_avail_res()
882 num_msix = ice_determine_res(pf, num_avail_msix, in ice_check_avail_res()
892 if (!num_msix) in ice_check_avail_res()
911 if (ice_sriov_set_msix_res(pf, num_msix * pf->num_alloc_vfs)) in ice_check_avail_res()
919 pf->num_vf_msix = num_msix; in ice_check_avail_res()