| /drivers/net/ethernet/intel/ice/ |
| 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() 246 (device_based_first_msix + vf->num_msix) - 1; in ice_ena_vf_msix_mappings() 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() 979 vf->num_msix = msix_vec_count; in ice_sriov_set_msix_vec_count() 996 vf->vf_id, vf->num_msix, vf->num_vf_qs); in ice_sriov_set_msix_vec_count() 1006 vf->num_msix, vf->vf_id, prev_msix); in ice_sriov_set_msix_vec_count() [all …]
|
| A D | ice_vf_lib.h | 128 u16 num_msix; /* num of MSI-X configured on this VF */ member
|
| A D | ice_vf_lib.c | 1009 vf->num_msix = vfs->num_msix_per; in ice_initialize_vf_entry()
|
| A D | ice_virtchnl.c | 507 vfres->max_vectors = vf->num_msix; in ice_vc_get_vf_res_msg() 1774 vf->num_msix < num_q_vectors_mapped || in ice_vc_cfg_irq_map_msg() 1796 if (!(vector_id < vf->num_msix) || in ice_vc_cfg_irq_map_msg()
|
| A D | ice_lib.c | 228 vsi->num_q_vectors = vf->num_msix - ICE_NONQ_VECS_VF; in ice_vsi_set_num_qs()
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic_main.c | 679 num_msix += 1; in qlcnic_setup_tss_rss_intr() 709 num_msix += 1; in qlcnic_setup_tss_rss_intr() 714 num_msix); in qlcnic_setup_tss_rss_intr() 721 adapter->ahw->num_msix = num_msix; in qlcnic_setup_tss_rss_intr() 756 adapter->ahw->num_msix = num_msix; in qlcnic_enable_msix() 772 num_msix += 1; in qlcnic_enable_msix() 787 if (num_msix) { in qlcnic_enable_msix() 790 num_msix); in qlcnic_enable_msix() 806 int num_msix; in qlcnic_82xx_calculate_msix_vector() local 815 return num_msix; in qlcnic_82xx_calculate_msix_vector() [all …]
|
| A D | qlcnic_83xx_hw.c | 345 int num_msix; in qlcnic_83xx_calculate_msix_vector() local 350 num_msix += 1; 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() 376 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr() 380 num_msix = 1; in qlcnic_83xx_setup_intr() 388 vzalloc(array_size(num_msix, in qlcnic_83xx_setup_intr() 570 u32 num_msix; in qlcnic_83xx_free_mbx_intr() local 578 num_msix = adapter->ahw->num_msix - 1; in qlcnic_83xx_free_mbx_intr() [all …]
|
| A D | qlcnic_ctx.c | 781 for (i = 0; i < ahw->num_msix; i++) { in qlcnic_82xx_config_intrpt()
|
| A D | qlcnic_sriov_pf.c | 1780 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8); in qlcnic_sriov_pf_reset()
|
| A D | qlcnic.h | 490 u8 num_msix; member
|
| A D | qlcnic_sriov_common.c | 1726 u8 i, max_ints = ahw->num_msix - 1; in qlcnic_sriov_vf_detach()
|
| A D | qlcnic_83xx_init.c | 409 for (i = 0; i < adapter->ahw->num_msix; i++) { in qlcnic_83xx_idc_detach_driver()
|
| /drivers/net/ethernet/freescale/enetc/ |
| A D | enetc4_pf.c | 31 pf->caps.num_msix = ((val & ECAPR1_NUM_MSIX) >> 12) + 1; in enetc4_get_port_caps() 366 int i, num_msix, total_si; in enetc4_set_si_msix_num() local 371 num_msix = pf->caps.num_msix / total_si + in enetc4_set_si_msix_num() 372 pf->caps.num_msix % total_si - 1; in enetc4_set_si_msix_num() 373 val = num_msix & PSICFGR2_NUM_MSIX; in enetc4_set_si_msix_num() 376 num_msix = pf->caps.num_msix / total_si - 1; in enetc4_set_si_msix_num() 377 val = num_msix & PSICFGR2_NUM_MSIX; in enetc4_set_si_msix_num()
|
| A D | enetc_pf.h | 23 int num_msix; member
|
| /drivers/net/ethernet/marvell/octeon_ep_vf/ |
| 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 = kcalloc(num_msix, sizeof(struct msix_entry), GFP_KERNEL); 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()
|
| /drivers/scsi/isci/ |
| 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()
|
| /drivers/net/ethernet/fungible/funcore/ |
| 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()
|
| /drivers/net/ethernet/marvell/octeon_ep/ |
| 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 = kcalloc(num_msix, in octep_enable_msix_range() 123 for (i = 0; i < num_msix; i++) in octep_enable_msix_range() 127 num_msix, num_msix); in octep_enable_msix_range() 128 if (msix_allocated != num_msix) { in octep_enable_msix_range() 131 num_msix, msix_allocated); in octep_enable_msix_range()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| 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()
|
| A D | bnxt.c | 7718 req->num_msix = cpu_to_le16(hwr->cp); in __bnxt_hwrm_reserve_pf_rings()
|
| /drivers/infiniband/hw/bnxt_re/ |
| A D | main.c | 453 for (indx = BNXT_RE_NQ_IDX; indx < rdev->nqr->num_msix; indx++) { in bnxt_re_stop_irq() 488 for (indx = 0; indx < rdev->nqr->num_msix; indx++) in bnxt_re_start_irq() 497 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->nqr->num_msix; indx++) { in bnxt_re_start_irq() 1332 ibdev->num_comp_vectors = rdev->nqr->num_msix - 1; in bnxt_re_register_ib() 1674 for (i = 1; i < rdev->nqr->num_msix; i++) in bnxt_re_cleanup_res() 1691 for (i = 1; i < rdev->nqr->num_msix ; i++) { in bnxt_re_init_res() 1717 for (i = 0; i < rdev->nqr->num_msix - 1; i++) { in bnxt_re_free_nq_res() 1763 for (i = 0; i < rdev->nqr->num_msix - 1; i++) { in bnxt_re_alloc_res() 2052 rdev->nqr->num_msix = 0; in bnxt_re_dev_uninit() 2121 rdev->nqr->num_msix = rdev->en_dev->ulp_tbl->msix_requested; in bnxt_re_dev_init() [all …]
|
| A D | bnxt_re.h | 156 int num_msix; member
|
| A D | ib_verbs.c | 3033 for (indx = 0, min = 0; indx < (rdev->nqr->num_msix - 1); indx++) { in bnxt_re_get_nq()
|
| /drivers/net/ethernet/qlogic/netxen/ |
| 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()
|
| /drivers/net/ethernet/broadcom/bnge/ |
| A D | bnge_hwrm_lib.c | 460 req->num_msix = cpu_to_le16(hwr->nq); in __bnge_hwrm_reserve_pf_rings()
|