/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 100 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()
|
D | bnxt_hsi.h | 1270 __le16 num_msix; member
|
D | bnxt.c | 5750 req->num_msix = cpu_to_le16(cp_rings); in __bnxt_hwrm_reserve_pf_rings()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 689 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 …]
|
D | qlcnic_83xx_hw.c | 347 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 …]
|
D | qlcnic_ctx.c | 776 for (i = 0; i < ahw->num_msix; i++) { in qlcnic_82xx_config_intrpt()
|
D | qlcnic.h | 491 u8 num_msix; member
|
D | qlcnic_sriov_pf.c | 1779 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8); in qlcnic_sriov_pf_reset()
|
D | qlcnic_83xx_init.c | 410 for (i = 0; i < adapter->ahw->num_msix; i++) { in qlcnic_83xx_idc_detach_driver()
|
D | qlcnic_sriov_common.c | 1719 u8 i, max_ints = ahw->num_msix - 1; in qlcnic_sriov_vf_detach()
|
/Linux-v5.4/drivers/scsi/isci/ |
D | init.c | 330 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/ |
D | bnxt_re.h | 130 int num_msix; member
|
D | main.c | 218 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()
|
D | ib_verbs.c | 2593 nq = &rdev->nq[nq_alloc_cnt % (rdev->num_msix - 1)]; in bnxt_re_create_cq()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 614 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/ |
D | ice_virtchnl_pf.c | 853 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()
|