/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 102 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector() argument 114 q_vector->v_idx = v_idx; in ice_vsi_alloc_q_vector() 125 if (cpu_online(v_idx)) in ice_vsi_alloc_q_vector() 126 cpumask_set_cpu(v_idx, &q_vector->affinity_mask); in ice_vsi_alloc_q_vector() 137 vsi->q_vectors[v_idx] = q_vector; in ice_vsi_alloc_q_vector() 147 static void ice_free_q_vector(struct ice_vsi *vsi, int v_idx) in ice_free_q_vector() argument 156 if (!vsi->q_vectors[v_idx]) { in ice_free_q_vector() 157 dev_dbg(dev, "Queue vector at index %d not found\n", v_idx); in ice_free_q_vector() 160 q_vector = vsi->q_vectors[v_idx]; in ice_free_q_vector() 172 vsi->q_vectors[v_idx] = NULL; in ice_free_q_vector() [all …]
|
D | ice_xsk.c | 95 u16 v_idx = q_vector->v_idx; in ice_qvec_dis_irq() local 99 synchronize_irq(pf->msix_entries[v_idx + base].vector); in ice_qvec_dis_irq()
|
D | ice_ethtool.c | 3885 int v_idx; in __ice_set_coalesce() local 3897 ice_for_each_q_vector(vsi, v_idx) { in __ice_set_coalesce() 3902 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq) in __ice_set_coalesce() 3905 if (ice_set_q_coalesce(vsi, ec, v_idx)) in __ice_set_coalesce() 3908 ice_set_q_vector_intrl(vsi->q_vectors[v_idx]); in __ice_set_coalesce()
|
D | ice_main.c | 2639 int i, v_idx; in ice_prepare_xdp_rings() local 2660 ice_for_each_q_vector(vsi, v_idx) { in ice_prepare_xdp_rings() 2661 struct ice_q_vector *q_vector = vsi->q_vectors[v_idx]; in ice_prepare_xdp_rings() 2665 vsi->num_q_vectors - v_idx); in ice_prepare_xdp_rings() 2759 int i, v_idx; in ice_destroy_xdp_rings() local 2769 ice_for_each_q_vector(vsi, v_idx) { in ice_destroy_xdp_rings() 2770 struct ice_q_vector *q_vector = vsi->q_vectors[v_idx]; in ice_destroy_xdp_rings() 3306 int v_idx; in ice_napi_add() local 3311 ice_for_each_q_vector(vsi, v_idx) in ice_napi_add() 3312 netif_napi_add(vsi->netdev, &vsi->q_vectors[v_idx]->napi, in ice_napi_add()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 834 int v_count, int v_idx, in ixgbe_alloc_q_vector() argument 852 cpu = cpumask_local_spread(v_idx, node); in ixgbe_alloc_q_vector() 880 adapter->q_vector[v_idx] = q_vector; in ixgbe_alloc_q_vector() 882 q_vector->v_idx = v_idx; in ixgbe_alloc_q_vector() 1020 static void ixgbe_free_q_vector(struct ixgbe_adapter *adapter, int v_idx) in ixgbe_free_q_vector() argument 1022 struct ixgbe_q_vector *q_vector = adapter->q_vector[v_idx]; in ixgbe_free_q_vector() 1035 adapter->q_vector[v_idx] = NULL; in ixgbe_free_q_vector() 1062 int rxr_idx = 0, txr_idx = 0, xdp_idx = 0, v_idx = 0; in ixgbe_alloc_q_vectors() local 1070 for (; rxr_remaining; v_idx++) { in ixgbe_alloc_q_vectors() 1071 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors() [all …]
|
D | ixgbe_xsk.c | 542 u64 eics = BIT_ULL(ring->q_vector->v_idx); in ixgbe_xsk_wakeup()
|
D | ixgbe_main.c | 2460 int v_idx; in ixgbe_configure_msix() local 2473 for (v_idx = 0; v_idx < adapter->num_q_vectors; v_idx++) { in ixgbe_configure_msix() 2475 q_vector = adapter->q_vector[v_idx]; in ixgbe_configure_msix() 2478 ixgbe_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbe_configure_msix() 2481 ixgbe_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbe_configure_msix() 2489 v_idx); in ixgbe_configure_msix() 2496 ixgbe_set_ivar(adapter, -1, 1, v_idx); in ixgbe_configure_msix() 2501 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(v_idx), 1950); in ixgbe_configure_msix() 2712 int v_idx = q_vector->v_idx; in ixgbe_write_eitr() local 2734 IXGBE_WRITE_REG(hw, IXGBE_EITR(v_idx), itr_reg); in ixgbe_write_eitr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1590 unsigned int v_count, unsigned int v_idx, in fm10k_alloc_q_vector() argument 1609 interface->q_vector[v_idx] = q_vector; in fm10k_alloc_q_vector() 1611 q_vector->v_idx = v_idx; in fm10k_alloc_q_vector() 1690 static void fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx) in fm10k_free_q_vector() argument 1692 struct fm10k_q_vector *q_vector = interface->q_vector[v_idx]; in fm10k_free_q_vector() 1703 interface->q_vector[v_idx] = NULL; in fm10k_free_q_vector() 1720 unsigned int rxr_idx = 0, txr_idx = 0, v_idx = 0; in fm10k_alloc_q_vectors() local 1724 for (; rxr_remaining; v_idx++) { in fm10k_alloc_q_vectors() 1725 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors() 1736 for (; v_idx < q_vectors; v_idx++) { in fm10k_alloc_q_vectors() [all …]
|
D | fm10k_debugfs.c | 160 snprintf(name, sizeof(name), "q_vector.%03d", q_vector->v_idx); in fm10k_dbg_q_vector_init()
|
D | fm10k.h | 188 u16 v_idx; /* index of q_vector within interface array */ member
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 154 reg_idx = I40E_PFINT_LNKLSTN(qv_info->v_idx - 1); in i40e_client_release_qvlist() 570 u32 v_idx, i, reg_idx, reg; in i40e_client_setup_qvlist() local 582 v_idx = qv_info->v_idx; in i40e_client_setup_qvlist() 585 if ((v_idx >= (pf->iwarp_base_vector + pf->num_iwarp_msix)) || in i40e_client_setup_qvlist() 586 (v_idx < pf->iwarp_base_vector)) in i40e_client_setup_qvlist() 590 reg_idx = I40E_PFINT_LNKLSTN(v_idx - 1); in i40e_client_setup_qvlist() 603 (v_idx << I40E_PFINT_CEQCTL_MSIX_INDX_SHIFT) | in i40e_client_setup_qvlist() 612 (v_idx << I40E_PFINT_AEQCTL_MSIX_INDX_SHIFT) | in i40e_client_setup_qvlist()
|
D | i40e_virtchnl_pf.c | 463 u32 v_idx, reg_idx, reg; in i40e_release_iwarp_qvlist() local 468 v_idx = qv_info->v_idx; in i40e_release_iwarp_qvlist() 480 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_release_iwarp_qvlist() 506 u32 v_idx, i, reg_idx, reg; in i40e_config_iwarp_qvlist() local 539 if (!i40e_vc_isvalid_vector_id(vf, qv_info->v_idx)) { in i40e_config_iwarp_qvlist() 544 v_idx = qv_info->v_idx; in i40e_config_iwarp_qvlist() 548 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_iwarp_qvlist() 562 (v_idx << I40E_VPINT_CEQCTL_MSIX_INDX_SHIFT) | in i40e_config_iwarp_qvlist() 568 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_iwarp_qvlist() 578 (v_idx << I40E_VPINT_AEQCTL_MSIX_INDX_SHIFT) | in i40e_config_iwarp_qvlist()
|
D | i40e_main.c | 362 I40E_PFINT_DYN_CTLN(tx_ring->q_vector->v_idx + in i40e_tx_timeout() 3395 cpu = cpumask_local_spread(ring->q_vector->v_idx, -1); in i40e_config_xps_tx_ring() 4147 cpu = cpumask_local_spread(q_vector->v_idx, -1); in i40e_vsi_request_irq_msix() 4470 i40e_irq_dynamic_enable(vsi, tx_ring->q_vector->v_idx); in i40e_clean_fdir_tx_irq() 4500 static void i40e_map_vector_to_qp(struct i40e_vsi *vsi, int v_idx, int qp_idx) in i40e_map_vector_to_qp() argument 4502 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_map_vector_to_qp() 4557 q_vector->reg_idx = q_vector->v_idx + vsi->base_vector - 1; in i40e_vsi_map_rings_to_vectors() 5072 static void i40e_free_q_vector(struct i40e_vsi *vsi, int v_idx) in i40e_free_q_vector() argument 5074 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_free_q_vector() 5091 vsi->q_vectors[v_idx] = NULL; in i40e_free_q_vector() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_client.c | 453 u32 v_idx, i; in iavf_client_setup_qvlist() local 464 v_idx = qv_info->v_idx; in iavf_client_setup_qvlist() 465 if ((v_idx >= in iavf_client_setup_qvlist() 467 (v_idx < adapter->iwarp_base_vector)) in iavf_client_setup_qvlist()
|
D | iavf_client.h | 48 u32 v_idx; /* msix_vector */ member
|
D | iavf_virtchnl.c | 387 int v_idx, q_vectors; in iavf_map_queues() local 407 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in iavf_map_queues() 408 q_vector = &adapter->q_vectors[v_idx]; in iavf_map_queues() 409 vecmap = &vimi->vecmap[v_idx]; in iavf_map_queues() 412 vecmap->vector_id = v_idx + NONQ_VECS; in iavf_map_queues() 419 vecmap = &vimi->vecmap[v_idx]; in iavf_map_queues()
|
D | iavf.h | 113 u16 v_idx; /* index in the vsi->q_vector array. */ member
|
D | iavf_main.c | 442 iavf_map_vector_to_rxq(struct iavf_adapter *adapter, int v_idx, int r_idx) in iavf_map_vector_to_rxq() argument 444 struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx]; in iavf_map_vector_to_rxq() 468 iavf_map_vector_to_txq(struct iavf_adapter *adapter, int v_idx, int t_idx) in iavf_map_vector_to_txq() argument 470 struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx]; in iavf_map_vector_to_txq() 604 cpu = cpumask_local_spread(q_vector->v_idx, -1); in iavf_request_traffic_irqs() 1823 q_vector->v_idx = q_idx; in iavf_alloc_q_vectors()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1316 BIT(q_vector->v_idx)); in ixgbevf_poll() 1330 int v_idx = q_vector->v_idx; in ixgbevf_write_eitr() local 1338 IXGBE_WRITE_REG(hw, IXGBE_VTEITR(v_idx), itr_reg); in ixgbevf_write_eitr() 1351 int q_vectors, v_idx; in ixgbevf_configure_msix() local 1359 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbevf_configure_msix() 1362 q_vector = adapter->q_vector[v_idx]; in ixgbevf_configure_msix() 1365 ixgbevf_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbevf_configure_msix() 1368 ixgbevf_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbevf_configure_msix() 1385 adapter->eims_enable_mask |= BIT(v_idx); in ixgbevf_configure_msix() 1390 ixgbevf_set_ivar(adapter, -1, 1, v_idx); in ixgbevf_configure_msix() [all …]
|
D | ixgbevf.h | 236 u16 v_idx; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4033 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx) in igc_reset_q_vector() argument 4035 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_reset_q_vector() 4059 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector() argument 4061 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_free_q_vector() 4063 adapter->q_vector[v_idx] = NULL; in igc_free_q_vector() 4082 int v_idx = adapter->num_q_vectors; in igc_free_q_vectors() local 4088 while (v_idx--) { in igc_free_q_vectors() 4089 igc_reset_q_vector(adapter, v_idx); in igc_free_q_vectors() 4090 igc_free_q_vector(adapter, v_idx); in igc_free_q_vectors() 4227 int v_idx = adapter->num_q_vectors; in igc_reset_interrupt_capability() local [all …]
|
/linux-6.1.9/include/linux/net/intel/ |
D | i40e_client.h | 40 u32 v_idx; /* msix_vector */ member
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_client_modeset.c | 347 int h_idx, int v_idx) in drm_client_get_tile_offsets() argument 358 if (!modes[i] && (h_idx || v_idx)) { in drm_client_get_tile_offsets() 366 if (connector->tile_v_loc < v_idx) in drm_client_get_tile_offsets() 371 DRM_DEBUG_KMS("returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx); in drm_client_get_tile_offsets()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 996 static void igb_free_q_vector(struct igb_adapter *adapter, int v_idx) in igb_free_q_vector() argument 998 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_free_q_vector() 1000 adapter->q_vector[v_idx] = NULL; in igb_free_q_vector() 1017 static void igb_reset_q_vector(struct igb_adapter *adapter, int v_idx) in igb_reset_q_vector() argument 1019 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_reset_q_vector() 1039 int v_idx = adapter->num_q_vectors; in igb_reset_interrupt_capability() local 1046 while (v_idx--) in igb_reset_interrupt_capability() 1047 igb_reset_q_vector(adapter, v_idx); in igb_reset_interrupt_capability() 1060 int v_idx = adapter->num_q_vectors; in igb_free_q_vectors() local 1066 while (v_idx--) { in igb_free_q_vectors() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | main.h | 231 u32 v_idx; /* msix_vector */ member
|