/linux-6.12.1/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() 151 if (cpu_online(v_idx)) in ice_vsi_alloc_q_vector() 152 cpumask_set_cpu(v_idx, &q_vector->affinity_mask); in ice_vsi_alloc_q_vector() 163 vsi->q_vectors[v_idx] = q_vector; in ice_vsi_alloc_q_vector() 178 static void ice_free_q_vector(struct ice_vsi *vsi, int v_idx) in ice_free_q_vector() argument 187 if (!vsi->q_vectors[v_idx]) { in ice_free_q_vector() 188 dev_dbg(dev, "Queue vector at index %d not found\n", v_idx); in ice_free_q_vector() 191 q_vector = vsi->q_vectors[v_idx]; in ice_free_q_vector() 193 ice_for_each_tx_ring(tx_ring, vsi->q_vectors[v_idx]->tx) in ice_free_q_vector() [all …]
|
D | ice_lib.c | 2722 int q_idx, v_idx; in ice_vsi_set_napi_queues() local 2735 ice_for_each_q_vector(vsi, v_idx) { in ice_vsi_set_napi_queues() 2736 struct ice_q_vector *q_vector = vsi->q_vectors[v_idx]; in ice_vsi_set_napi_queues() 2774 int v_idx; in ice_napi_add() local 2779 ice_for_each_q_vector(vsi, v_idx) in ice_napi_add() 2780 netif_napi_add(vsi->netdev, &vsi->q_vectors[v_idx]->napi, in ice_napi_add()
|
D | ice_ethtool.c | 4357 int v_idx; in __ice_set_coalesce() local 4369 ice_for_each_q_vector(vsi, v_idx) { in __ice_set_coalesce() 4374 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq) in __ice_set_coalesce() 4377 if (ice_set_q_coalesce(vsi, ec, v_idx)) in __ice_set_coalesce() 4380 ice_set_q_vector_intrl(vsi->q_vectors[v_idx]); in __ice_set_coalesce()
|
/linux-6.12.1/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() 1059 int rxr_idx = 0, txr_idx = 0, xdp_idx = 0, v_idx = 0; in ixgbe_alloc_q_vectors() local 1067 for (; rxr_remaining; v_idx++) { in ixgbe_alloc_q_vectors() 1068 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors() [all …]
|
D | ixgbe_xsk.c | 532 u64 eics = BIT_ULL(ring->q_vector->v_idx); in ixgbe_xsk_wakeup()
|
D | ixgbe_main.c | 2481 int v_idx; in ixgbe_configure_msix() local 2494 for (v_idx = 0; v_idx < adapter->num_q_vectors; v_idx++) { in ixgbe_configure_msix() 2496 q_vector = adapter->q_vector[v_idx]; in ixgbe_configure_msix() 2499 ixgbe_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbe_configure_msix() 2502 ixgbe_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbe_configure_msix() 2510 v_idx); in ixgbe_configure_msix() 2517 ixgbe_set_ivar(adapter, -1, 1, v_idx); in ixgbe_configure_msix() 2522 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(v_idx), 1950); in ixgbe_configure_msix() 2733 int v_idx = q_vector->v_idx; in ixgbe_write_eitr() local 2755 IXGBE_WRITE_REG(hw, IXGBE_EITR(v_idx), itr_reg); in ixgbe_write_eitr() [all …]
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_txrx.c | 845 u32 v_idx = nv->v_idx; in fbnic_nv_irq_disable() local 847 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(v_idx / 32), 1 << (v_idx % 32)); in fbnic_nv_irq_disable() 853 u32 v_idx = nv->v_idx; in fbnic_nv_irq_rearm() local 855 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(v_idx), in fbnic_nv_irq_rearm() 942 u32 v_idx = nv->v_idx; in fbnic_free_napi_vector() local 956 fbnic_free_irq(fbd, v_idx, nv); in fbnic_free_napi_vector() 977 nv->v_idx - FBNIC_NON_NAPI_VECTORS); in fbnic_name_napi_vector() 980 nv->v_idx - FBNIC_NON_NAPI_VECTORS); in fbnic_name_napi_vector() 1032 unsigned int v_count, unsigned int v_idx, in fbnic_alloc_napi_vector() argument 1062 nv->v_idx = v_idx; in fbnic_alloc_napi_vector() [all …]
|
D | fbnic_txrx.h | 106 u16 v_idx; member
|
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1589 unsigned int v_count, unsigned int v_idx, in fm10k_alloc_q_vector() argument 1608 interface->q_vector[v_idx] = q_vector; in fm10k_alloc_q_vector() 1610 q_vector->v_idx = v_idx; in fm10k_alloc_q_vector() 1689 static void fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx) in fm10k_free_q_vector() argument 1691 struct fm10k_q_vector *q_vector = interface->q_vector[v_idx]; in fm10k_free_q_vector() 1702 interface->q_vector[v_idx] = NULL; in fm10k_free_q_vector() 1719 unsigned int rxr_idx = 0, txr_idx = 0, v_idx = 0; in fm10k_alloc_q_vectors() local 1723 for (; rxr_remaining; v_idx++) { in fm10k_alloc_q_vectors() 1724 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors() 1735 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.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 152 reg_idx = I40E_PFINT_LNKLSTN(qv_info->v_idx - 1); in i40e_client_release_qvlist() 567 u32 v_idx, i, reg_idx, reg; in i40e_client_setup_qvlist() local 577 v_idx = qv_info->v_idx; in i40e_client_setup_qvlist() 580 if ((v_idx >= (pf->iwarp_base_vector + pf->num_iwarp_msix)) || in i40e_client_setup_qvlist() 581 (v_idx < pf->iwarp_base_vector)) in i40e_client_setup_qvlist() 585 reg_idx = I40E_PFINT_LNKLSTN(v_idx - 1); in i40e_client_setup_qvlist() 598 (v_idx << I40E_PFINT_CEQCTL_MSIX_INDX_SHIFT) | in i40e_client_setup_qvlist() 607 (v_idx << I40E_PFINT_AEQCTL_MSIX_INDX_SHIFT) | in i40e_client_setup_qvlist()
|
D | i40e_virtchnl_pf.c | 491 u32 v_idx, reg_idx, reg; in i40e_release_rdma_qvlist() local 494 v_idx = qv_info->v_idx; in i40e_release_rdma_qvlist() 506 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_release_rdma_qvlist() 533 u32 v_idx, i, reg_idx, reg; in i40e_config_rdma_qvlist() local 565 if (!i40e_vc_isvalid_vector_id(vf, qv_info->v_idx)) { in i40e_config_rdma_qvlist() 570 v_idx = qv_info->v_idx; in i40e_config_rdma_qvlist() 574 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_rdma_qvlist() 588 (v_idx << I40E_VPINT_CEQCTL_MSIX_INDX_SHIFT) | in i40e_config_rdma_qvlist() 594 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_rdma_qvlist() 604 (v_idx << I40E_VPINT_AEQCTL_MSIX_INDX_SHIFT) | in i40e_config_rdma_qvlist()
|
D | i40e_main.c | 383 I40E_PFINT_DYN_CTLN(tx_ring->q_vector->v_idx + in i40e_tx_timeout() 3435 cpu = cpumask_local_spread(ring->q_vector->v_idx, -1); in i40e_config_xps_tx_ring() 4196 cpu = cpumask_local_spread(q_vector->v_idx, -1); in i40e_vsi_request_irq_msix() 4518 i40e_irq_dynamic_enable(vsi, tx_ring->q_vector->v_idx); in i40e_clean_fdir_tx_irq() 4548 static void i40e_map_vector_to_qp(struct i40e_vsi *vsi, int v_idx, int qp_idx) in i40e_map_vector_to_qp() argument 4550 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_map_vector_to_qp() 4605 q_vector->reg_idx = q_vector->v_idx + vsi->base_vector - 1; in i40e_vsi_map_rings_to_vectors() 5115 static void i40e_free_q_vector(struct i40e_vsi *vsi, int v_idx) in i40e_free_q_vector() argument 5117 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_free_q_vector() 5134 vsi->q_vectors[v_idx] = NULL; in i40e_free_q_vector() [all …]
|
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 869 wx_intr_enable(wx, WX_INTR_Q(q_vector->v_idx)); in wx_poll() 1754 unsigned int v_count, unsigned int v_idx, in wx_alloc_q_vector() argument 1775 wx->q_vector[v_idx] = q_vector; in wx_alloc_q_vector() 1777 q_vector->v_idx = v_idx; in wx_alloc_q_vector() 1778 if (cpu_online(v_idx)) in wx_alloc_q_vector() 1779 q_vector->numa_node = cpu_to_node(v_idx); in wx_alloc_q_vector() 1863 static void wx_free_q_vector(struct wx *wx, int v_idx) in wx_free_q_vector() argument 1865 struct wx_q_vector *q_vector = wx->q_vector[v_idx]; in wx_free_q_vector() 1874 wx->q_vector[v_idx] = NULL; in wx_free_q_vector() 1888 unsigned int rxr_idx = 0, txr_idx = 0, v_idx = 0; in wx_alloc_q_vectors() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_txrx.c | 3519 u16 v_idx; in idpf_vport_intr_napi_del_all() local 3521 for (v_idx = 0; v_idx < vport->num_q_vectors; v_idx++) in idpf_vport_intr_napi_del_all() 3522 netif_napi_del(&vport->q_vectors[v_idx].napi); in idpf_vport_intr_napi_del_all() 3531 int v_idx; in idpf_vport_intr_napi_dis_all() local 3533 for (v_idx = 0; v_idx < vport->num_q_vectors; v_idx++) in idpf_vport_intr_napi_dis_all() 3534 napi_disable(&vport->q_vectors[v_idx].napi); in idpf_vport_intr_napi_dis_all() 3545 for (u32 v_idx = 0; v_idx < vport->num_q_vectors; v_idx++) { in idpf_vport_intr_rel() local 3546 struct idpf_q_vector *q_vector = &vport->q_vectors[v_idx]; in idpf_vport_intr_rel() 4150 vport->q_vectors[i].v_idx = vport->q_vector_idxs[i]; in idpf_vport_intr_init_vec_idx() 4163 vport->q_vectors[i].v_idx = vecids[vport->q_vector_idxs[i]]; in idpf_vport_intr_init_vec_idx() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1315 BIT(q_vector->v_idx)); in ixgbevf_poll() 1329 int v_idx = q_vector->v_idx; in ixgbevf_write_eitr() local 1337 IXGBE_WRITE_REG(hw, IXGBE_VTEITR(v_idx), itr_reg); in ixgbevf_write_eitr() 1350 int q_vectors, v_idx; in ixgbevf_configure_msix() local 1358 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbevf_configure_msix() 1361 q_vector = adapter->q_vector[v_idx]; in ixgbevf_configure_msix() 1364 ixgbevf_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbevf_configure_msix() 1367 ixgbevf_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbevf_configure_msix() 1384 adapter->eims_enable_mask |= BIT(v_idx); in ixgbevf_configure_msix() 1389 ixgbevf_set_ivar(adapter, -1, 1, v_idx); in ixgbevf_configure_msix() [all …]
|
D | ixgbevf.h | 236 u16 v_idx; member
|
/linux-6.12.1/include/linux/net/intel/ |
D | i40e_client.h | 40 u32 v_idx; /* msix_vector */ member
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4253 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx) in igc_reset_q_vector() argument 4255 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_reset_q_vector() 4279 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector() argument 4281 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_free_q_vector() 4283 adapter->q_vector[v_idx] = NULL; in igc_free_q_vector() 4302 int v_idx = adapter->num_q_vectors; in igc_free_q_vectors() local 4308 while (v_idx--) { in igc_free_q_vectors() 4309 igc_reset_q_vector(adapter, v_idx); in igc_free_q_vectors() 4310 igc_free_q_vector(adapter, v_idx); in igc_free_q_vectors() 4447 int v_idx = adapter->num_q_vectors; in igc_reset_interrupt_capability() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 385 int v_idx, q_vectors; in iavf_map_queues() local 405 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in iavf_map_queues() 406 q_vector = &adapter->q_vectors[v_idx]; in iavf_map_queues() 407 vecmap = &vimi->vecmap[v_idx]; in iavf_map_queues() 410 vecmap->vector_id = v_idx + NONQ_VECS; in iavf_map_queues() 417 vecmap = &vimi->vecmap[v_idx]; in iavf_map_queues()
|
D | iavf.h | 111 u16 v_idx; /* index in the vsi->q_vector array. */ member
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_client_modeset.c | 351 int h_idx, int v_idx) in drm_client_get_tile_offsets() argument 362 if (!modes[i] && (h_idx || v_idx)) { in drm_client_get_tile_offsets() 371 if (connector->tile_v_loc < v_idx) in drm_client_get_tile_offsets() 376 drm_dbg_kms(dev, "returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx); in drm_client_get_tile_offsets()
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 969 static void igb_free_q_vector(struct igb_adapter *adapter, int v_idx) in igb_free_q_vector() argument 971 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_free_q_vector() 973 adapter->q_vector[v_idx] = NULL; in igb_free_q_vector() 990 static void igb_reset_q_vector(struct igb_adapter *adapter, int v_idx) in igb_reset_q_vector() argument 992 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_reset_q_vector() 1012 int v_idx = adapter->num_q_vectors; in igb_reset_interrupt_capability() local 1019 while (v_idx--) in igb_reset_interrupt_capability() 1020 igb_reset_q_vector(adapter, v_idx); in igb_reset_interrupt_capability() 1033 int v_idx = adapter->num_q_vectors; in igb_free_q_vectors() local 1039 while (v_idx--) { in igb_free_q_vectors() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | main.h | 234 u32 v_idx; /* msix_vector */ member
|