| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_main.c | 664 int num_msix = 0, err = 0, vector; in qlcnic_setup_tss_rss_intr() local 669 num_msix += adapter->drv_tss_rings; in qlcnic_setup_tss_rss_intr() 671 num_msix += adapter->drv_tx_rings; in qlcnic_setup_tss_rss_intr() 674 num_msix += adapter->drv_rss_rings; in qlcnic_setup_tss_rss_intr() 676 num_msix += adapter->drv_sds_rings; in qlcnic_setup_tss_rss_intr() 679 num_msix += 1; in qlcnic_setup_tss_rss_intr() 683 num_msix); in qlcnic_setup_tss_rss_intr() 688 for (vector = 0; vector < num_msix; vector++) in qlcnic_setup_tss_rss_intr() 692 err = pci_enable_msix_exact(pdev, adapter->msix_entries, num_msix); in qlcnic_setup_tss_rss_intr() 699 num_msix, err); in qlcnic_setup_tss_rss_intr() [all …]
|
| H A D | qlcnic_83xx_hw.c | 345 int num_msix; in qlcnic_83xx_calculate_msix_vector() local 347 num_msix = adapter->drv_sds_rings; in qlcnic_83xx_calculate_msix_vector() 350 num_msix += 1; in qlcnic_83xx_calculate_msix_vector() 353 num_msix += adapter->drv_tx_rings; in qlcnic_83xx_calculate_msix_vector() 355 return num_msix; in qlcnic_83xx_calculate_msix_vector() 361 int err, i, num_msix; in qlcnic_83xx_setup_intr() local 367 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr() 369 num_msix = qlcnic_83xx_calculate_msix_vector(adapter); in qlcnic_83xx_setup_intr() 371 err = qlcnic_enable_msix(adapter, num_msix); in qlcnic_83xx_setup_intr() 376 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr() [all …]
|
| H A D | qlcnic_ctx.c | 781 for (i = 0; i < ahw->num_msix; i++) { in qlcnic_82xx_config_intrpt()
|
| H A D | qlcnic.h | 490 u8 num_msix; member
|
| H A D | qlcnic_sriov_pf.c | 1780 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8); in qlcnic_sriov_pf_reset()
|
| H A D | qlcnic_83xx_init.c | 409 for (i = 0; i < adapter->ahw->num_msix; i++) { in qlcnic_83xx_idc_detach_driver()
|
| H A D | qlcnic_sriov_common.c | 1725 u8 i, max_ints = ahw->num_msix - 1; in qlcnic_sriov_vf_detach()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_sriov.c | 69 last_vector_idx = vf->first_vector_idx + vf->num_msix - 1; in ice_free_vf_res() 107 last = first + vf->num_msix - 1; in ice_dis_vf_mappings() 161 ice_virt_free_irqs(pf, vf->first_vector_idx, vf->num_msix); in ice_free_vfs() 241 pf_based_last_msix = (pf_based_first_msix + vf->num_msix) - 1; in ice_ena_vf_msix_mappings() 246 (device_based_first_msix + vf->num_msix) - 1; in ice_ena_vf_msix_mappings() 444 vf->first_vector_idx = ice_virt_get_irqs(pf, vf->num_msix); in ice_init_vf_vsi_res() 893 tmp_vf->num_msix); in ice_sriov_remap_vectors() 905 ice_virt_get_irqs(pf, tmp_vf->num_msix); in ice_sriov_remap_vectors() 965 if (msix_vec_count == vf->num_msix) { in ice_sriov_set_msix_vec_count() 970 prev_msix = vf->num_msix; in ice_sriov_set_msix_vec_count() [all …]
|
| H A D | ice_vf_lib.c | 1009 vf->num_msix = vfs->num_msix_per; in ice_initialize_vf_entry()
|
| H A D | ice_lib.c | 230 vsi->num_q_vectors = vf->num_msix - ICE_NONQ_VECS_VF; in ice_vsi_set_num_qs()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc4_pf.c | 31 pf->caps.num_msix = ((val & ECAPR1_NUM_MSIX) >> 12) + 1; in enetc4_get_port_caps() 377 int i, num_msix, total_si; in enetc4_set_si_msix_num() local 382 num_msix = pf->caps.num_msix / total_si + in enetc4_set_si_msix_num() 383 pf->caps.num_msix % total_si - 1; in enetc4_set_si_msix_num() 384 val = num_msix & PSICFGR2_NUM_MSIX; in enetc4_set_si_msix_num() 387 num_msix = pf->caps.num_msix / total_si - 1; in enetc4_set_si_msix_num() 388 val = num_msix & PSICFGR2_NUM_MSIX; in enetc4_set_si_msix_num()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_auxr.c | 29 int num_msix, i; in bnge_fill_msix_vecs() local 35 num_msix = auxr_dev->auxr_info->msix_requested; in bnge_fill_msix_vecs() 36 for (i = 0; i < num_msix; i++) { in bnge_fill_msix_vecs()
|
| H A D | bnge_hwrm_lib.c | 462 req->num_msix = cpu_to_le16(hwr->nq); in __bnge_hwrm_reserve_pf_rings()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_main.c | 110 int num_msix, msix_allocated; in octep_vf_enable_msix_range() local 115 num_msix = oct->num_oqs; in octep_vf_enable_msix_range() 116 oct->msix_entries = kzalloc_objs(struct msix_entry, num_msix); in octep_vf_enable_msix_range() 120 for (i = 0; i < num_msix; i++) in octep_vf_enable_msix_range() 124 num_msix, num_msix); in octep_vf_enable_msix_range() 125 if (msix_allocated != num_msix) { in octep_vf_enable_msix_range() 128 num_msix, msix_allocated); in octep_vf_enable_msix_range()
|
| /linux/drivers/scsi/isci/ |
| H A D | init.c | 316 int err, i, num_msix; in isci_setup_interrupts() local 324 num_msix = num_controllers(pdev) * SCI_NUM_MSI_X_INT; in isci_setup_interrupts() 326 err = pci_alloc_irq_vectors(pdev, num_msix, num_msix, PCI_IRQ_MSIX); in isci_setup_interrupts() 330 for (i = 0; i < num_msix; i++) { in isci_setup_interrupts()
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_dev.c | 595 int vecs, num_msix = pci_msix_vec_count(pdev); in fun_alloc_irqs() local 597 if (num_msix < 0) in fun_alloc_irqs() 598 return num_msix; in fun_alloc_irqs() 599 if (min_vecs > num_msix) in fun_alloc_irqs() 602 vecs = pci_alloc_irq_vectors(pdev, min_vecs, num_msix, PCI_IRQ_MSIX); in fun_alloc_irqs() 606 vecs, num_msix); in fun_alloc_irqs()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_main.c | 113 int num_msix, msix_allocated; in octep_enable_msix_range() local 117 num_msix = oct->num_oqs + CFG_GET_NON_IOQ_MSIX(oct->conf); in octep_enable_msix_range() 118 oct->msix_entries = kzalloc_objs(struct msix_entry, num_msix); in octep_enable_msix_range() 122 for (i = 0; i < num_msix; i++) in octep_enable_msix_range() 126 num_msix, num_msix); in octep_enable_msix_range() 127 if (msix_allocated != num_msix) { in octep_enable_msix_range() 130 num_msix, msix_allocated); in octep_enable_msix_range()
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_re.h | 47 int num_msix; member
|
| H A D | bng_dev.c | 325 rdev->nqr->num_msix = rdev->aux_dev->auxr_info->msix_requested; in bng_re_dev_init() 327 sizeof(struct bnge_msix_info) * rdev->nqr->num_msix); in bng_re_dev_init()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ulp.c | 35 int num_msix, i; in bnxt_fill_msix_vecs() local 41 num_msix = edev->ulp_tbl->msix_requested; in bnxt_fill_msix_vecs() 42 for (i = 0; i < num_msix; i++) { in bnxt_fill_msix_vecs()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | main.c | 458 for (indx = BNXT_RE_NQ_IDX; indx < rdev->nqr->num_msix; indx++) { in bnxt_re_stop_irq() 493 for (indx = 0; indx < rdev->nqr->num_msix; indx++) in bnxt_re_start_irq() 502 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->nqr->num_msix; indx++) { in bnxt_re_start_irq() 1409 ibdev->num_comp_vectors = rdev->nqr->num_msix - 1; in bnxt_re_register_ib() 1752 for (i = 1; i < rdev->nqr->num_msix; i++) in bnxt_re_cleanup_res() 1769 for (i = 1; i < rdev->nqr->num_msix ; i++) { in bnxt_re_init_res() 1795 for (i = 0; i < rdev->nqr->num_msix - 1; i++) { in bnxt_re_free_nq_res() 1841 for (i = 0; i < rdev->nqr->num_msix - 1; i++) { in bnxt_re_alloc_res() 2169 rdev->nqr->num_msix = 0; in bnxt_re_dev_uninit() 2229 rdev->nqr->num_msix = rdev->en_dev->ulp_tbl->msix_requested; in bnxt_re_dev_init() [all …]
|
| H A D | bnxt_re.h | 156 int num_msix; member
|
| H A D | ib_verbs.c | 3101 for (indx = 0, min = 0; indx < (rdev->nqr->num_msix - 1); indx++) { in bnxt_re_get_nq()
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_main.c | 607 int num_msix) in netxen_setup_msi_interrupts() argument 614 netxen_init_msix_entries(adapter, num_msix); in netxen_setup_msi_interrupts() 616 num_msix, num_msix); in netxen_setup_msi_interrupts() 622 adapter->max_sds_rings = num_msix; in netxen_setup_msi_interrupts() 646 int num_msix; in netxen_setup_intr() local 649 num_msix = (num_online_cpus() >= MSIX_ENTRIES_PER_ADAPTER) ? in netxen_setup_intr() 652 num_msix = 1; in netxen_setup_intr() 661 if (!netxen_setup_msi_interrupts(adapter, num_msix)) in netxen_setup_intr() 667 netxen_setup_msi_interrupts(adapter, num_msix)) { in netxen_setup_intr()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | virtchnl.c | 335 vfres->max_vectors = vf->num_msix; in ice_vc_get_vf_res_msg()
|