Home
last modified time | relevance | path

Searched refs:num_q_vectors (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_lib.c108 vsi->q_vectors = devm_kcalloc(dev, vsi->num_q_vectors, in ice_vsi_alloc_arrays()
194 vsi->num_q_vectors = min_t(int, pf->num_lan_msix, in ice_vsi_set_num_qs()
209 vsi->num_q_vectors = pf->num_msix_per_vf - ICE_NONQ_VECS_VF; in ice_vsi_set_num_qs()
214 vsi->num_q_vectors = 1; in ice_vsi_set_num_qs()
1173 u16 num_q_vectors; in ice_vsi_setup_vector_base() local
1187 num_q_vectors = vsi->num_q_vectors; in ice_vsi_setup_vector_base()
1189 base = ice_get_res(pf, pf->irq_tracker, num_q_vectors, vsi->idx); in ice_vsi_setup_vector_base()
1194 ice_vsi_type_str(vsi->type), vsi->idx, num_q_vectors); in ice_vsi_setup_vector_base()
1198 pf->num_avail_sw_msix -= num_q_vectors; in ice_vsi_setup_vector_base()
1808 for (i = 0; i < vsi->num_q_vectors; i++) { in ice_vsi_cfg_msix()
[all …]
Dice_arfs.c607 if (!pf || !netdev || !vsi->num_q_vectors || in ice_set_cpu_rx_rmap()
612 vsi->type, netdev->name, vsi->num_q_vectors); in ice_set_cpu_rx_rmap()
614 netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(vsi->num_q_vectors); in ice_set_cpu_rx_rmap()
619 for (i = 0; i < vsi->num_q_vectors; i++) in ice_set_cpu_rx_rmap()
Dice_base.c539 for (v_idx = 0; v_idx < vsi->num_q_vectors; v_idx++) { in ice_vsi_alloc_q_vectors()
552 vsi->num_q_vectors, vsi->vsi_num, err); in ice_vsi_alloc_q_vectors()
553 vsi->num_q_vectors = 0; in ice_vsi_alloc_q_vectors()
567 int q_vectors = vsi->num_q_vectors; in ice_vsi_map_rings_to_vectors()
Dice.h124 for ((i) = 0; (i) < (vsi)->num_q_vectors; (i)++)
261 u16 num_q_vectors; member
Dice_main.c2197 int q_vectors = vsi->num_q_vectors; in ice_vsi_req_irq_msix()
2369 vsi->num_q_vectors - v_idx); in ice_prepare_xdp_rings()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c801 adapter->num_q_vectors = min_t(int, vectors, adapter->max_q_vectors); in ixgbe_acquire_msix_vectors()
1051 int q_vectors = adapter->num_q_vectors; in ixgbe_alloc_q_vectors()
1119 adapter->num_q_vectors = 0; in ixgbe_alloc_q_vectors()
1137 int v_idx = adapter->num_q_vectors; in ixgbe_free_q_vectors()
1142 adapter->num_q_vectors = 0; in ixgbe_free_q_vectors()
1210 adapter->num_q_vectors = 1; in ixgbe_set_interrupt_capability()
Dixgbe.h672 int num_q_vectors; /* current number of q_vectors for device */ member
Dixgbe_main.c1373 for (i = 0; i < adapter->num_q_vectors; i++) { in ixgbe_setup_dca()
2475 for (v_idx = 0; v_idx < adapter->num_q_vectors; v_idx++) { in ixgbe_configure_msix()
3225 for (vector = 0; vector < adapter->num_q_vectors; vector++) { in ixgbe_request_msix_irqs()
3395 for (vector = 0; vector < adapter->num_q_vectors; vector++) { in ixgbe_free_irq()
3438 for (vector = 0; vector < adapter->num_q_vectors; vector++) in ixgbe_irq_disable()
4991 for (q_idx = 0; q_idx < adapter->num_q_vectors; q_idx++) in ixgbe_napi_enable_all()
4999 for (q_idx = 0; q_idx < adapter->num_q_vectors; q_idx++) in ixgbe_napi_disable_all()
7350 for (i = 0; i < adapter->num_q_vectors; i++) { in ixgbe_check_hang_subtask()
Dixgbe_ethtool.c2489 for (i = 0; i < adapter->num_q_vectors; i++) { in ixgbe_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_main.c2889 for (i = 0; i < adapter->num_q_vectors; i++) in igc_configure_msix()
2944 for (i = 0; i < adapter->num_q_vectors; i++) in igc_irq_disable()
3036 int v_idx = adapter->num_q_vectors; in igc_free_q_vectors()
3040 adapter->num_q_vectors = 0; in igc_free_q_vectors()
3181 int v_idx = adapter->num_q_vectors; in igc_reset_interrupt_capability()
3226 adapter->num_q_vectors = numvecs; in igc_set_interrupt_capability()
3260 adapter->num_q_vectors = 1; in igc_set_interrupt_capability()
3348 if (adapter->num_q_vectors == 1) in igc_ring_irq_enable()
3550 int q_vectors = adapter->num_q_vectors; in igc_alloc_q_vectors()
3589 adapter->num_q_vectors = 0; in igc_alloc_q_vectors()
[all …]
Digc.h127 unsigned int num_q_vectors; member
Digc_ethtool.c920 for (i = 0; i < adapter->num_q_vectors; i++) { in igc_ethtool_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c919 for (i = 0; i < adapter->num_q_vectors; i++) in igb_configure_msix()
934 unsigned int num_q_vectors = adapter->num_q_vectors; in igb_request_msix() local
943 if (num_q_vectors > MAX_Q_VECTORS) { in igb_request_msix()
944 num_q_vectors = MAX_Q_VECTORS; in igb_request_msix()
947 adapter->num_q_vectors, MAX_Q_VECTORS); in igb_request_msix()
949 for (i = 0; i < num_q_vectors; i++) { in igb_request_msix()
1041 int v_idx = adapter->num_q_vectors; in igb_reset_interrupt_capability()
1062 int v_idx = adapter->num_q_vectors; in igb_free_q_vectors()
1066 adapter->num_q_vectors = 0; in igb_free_q_vectors()
1119 adapter->num_q_vectors = numvecs; in igb_set_interrupt_capability()
[all …]
Digb.h544 unsigned int num_q_vectors; member
Digb_ethtool.c2227 for (i = 0; i < adapter->num_q_vectors; i++) { in igb_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1579 interface->num_q_vectors = 0; in fm10k_reset_num_queues()
1723 unsigned int q_vectors = interface->num_q_vectors; in fm10k_alloc_q_vectors()
1781 int v_idx = interface->num_q_vectors; in fm10k_free_q_vectors()
1856 interface->num_q_vectors = v_budget - NON_Q_VECTORS; in fm10k_init_msix_capability()
Dfm10k_pci.c720 for (i = 0; i < interface->num_q_vectors; i++) { in fm10k_check_hang_subtask()
1178 for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { in fm10k_napi_enable_all()
1723 int vector = interface->num_q_vectors; in fm10k_qv_free_irq()
1765 for (vector = 0; vector < interface->num_q_vectors; vector++) { in fm10k_qv_request_irq()
1875 for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { in fm10k_napi_disable_all()
Dfm10k.h339 int num_q_vectors; /* current number of q_vectors for device */ member
Dfm10k_ethtool.c675 for (i = 0; i < interface->num_q_vectors; i++) { in fm10k_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_main.c1349 int q_idx = 0, num_q_vectors; in iavf_alloc_q_vectors() local
1352 num_q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_alloc_q_vectors()
1353 adapter->q_vectors = kcalloc(num_q_vectors, sizeof(*q_vector), in iavf_alloc_q_vectors()
1358 for (q_idx = 0; q_idx < num_q_vectors; q_idx++) { in iavf_alloc_q_vectors()
1382 int q_idx, num_q_vectors; in iavf_free_q_vectors() local
1388 num_q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_free_q_vectors()
1391 for (q_idx = 0; q_idx < num_q_vectors; q_idx++) { in iavf_free_q_vectors()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c3681 for (i = 0; i < vsi->num_q_vectors; i++, vector++) { in i40e_vsi_configure_msix()
3920 int q_vectors = vsi->num_q_vectors; in i40e_vsi_request_irq_msix()
4018 i < (vsi->num_q_vectors + vsi->base_vector); i++) in i40e_vsi_disable_irq()
4022 for (i = 0; i < vsi->num_q_vectors; i++) in i40e_vsi_disable_irq()
4043 for (i = 0; i < vsi->num_q_vectors; i++) in i40e_vsi_enable_irq()
4359 int q_vectors = vsi->num_q_vectors; in i40e_vsi_map_rings_to_vectors()
4437 for (i = 0; i < vsi->num_q_vectors; i++) in i40e_netpoll()
4784 for (i = 0; i < vsi->num_q_vectors; i++) { in i40e_vsi_free_irq()
4928 for (v_idx = 0; v_idx < vsi->num_q_vectors; v_idx++) in i40e_vsi_free_q_vectors()
4986 for (q_idx = 0; q_idx < vsi->num_q_vectors; q_idx++) { in i40e_napi_enable_all()
[all …]
Di40e.h789 int num_q_vectors; member
Di40e_debugfs.c378 vsi->num_q_vectors, vsi->base_vector); in i40e_dbg_dump_vsi_seid()
1786 for (i = 0; i < vsi->num_q_vectors; i++) in i40e_dbg_netdev_ops_write()