Home
last modified time | relevance | path

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

/linux-6.15/lib/dim/
H A Drdma_dim.c11 if (dim->profile_ix == (RDMA_DIM_PARAMS_NUM_PROFILES - 1)) in rdma_dim_step()
13 dim->profile_ix++; in rdma_dim_step()
17 if (dim->profile_ix == 0) in rdma_dim_step()
19 dim->profile_ix--; in rdma_dim_step()
46 int prev_ix = dim->profile_ix; in rdma_dim_decision()
58 dim->profile_ix = 0; in rdma_dim_decision()
73 return dim->profile_ix != prev_ix; in rdma_dim_decision()
H A Dnet_dim.c72 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? in net_dim_get_def_rx_moderation() local
75 return net_dim_get_rx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_rx_moderation()
95 return net_dim_get_tx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_tx_moderation()
199 res = profile[dim->profile_ix]; in net_dim_get_rx_irq_moder()
215 res = profile[dim->profile_ix]; in net_dim_get_tx_irq_moder()
246 if (dim->profile_ix == (NET_DIM_PARAMS_NUM_PROFILES - 1)) in net_dim_step()
248 dim->profile_ix++; in net_dim_step()
252 if (dim->profile_ix == 0) in net_dim_step()
254 dim->profile_ix--; in net_dim_step()
300 int prev_ix = dim->profile_ix; in net_dim_decision()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dim.c50 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in mlx5e_rx_dim_work()
60 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in mlx5e_tx_dim_work()
H A Den_ethtool.c629 c->rq.dim->profile_ix); in mlx5e_ethtool_get_per_queue_coalesce()
645 c->sq[0].dim->profile_ix); in mlx5e_ethtool_get_per_queue_coalesce()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bnxt_dim_work()
H A Dbnxt_debugfs.c41 dim->profile_ix, in debugfs_dim_read()
/linux-6.15/drivers/infiniband/core/
H A Dcq.c44 u16 usec = rdma_dim_prof[dim->profile_ix].usec; in ib_cq_rdma_dim_work()
45 u16 comps = rdma_dim_prof[dim->profile_ix].comps; in ib_cq_rdma_dim_work()
67 dim->profile_ix = RDMA_DIM_START_PROFILE; in rdma_dim_init()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_trace.h78 __entry->dim->profile_ix,
105 __entry->dim->profile_ix,
H A Dice_main.c6667 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work()
6670 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work()
6687 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work()
6690 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work()
6718 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6724 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation()
6729 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6734 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
/linux-6.15/include/linux/
H A Ddim.h151 u8 profile_ix; member
/linux-6.15/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c3818 itr = vport->tx_itr_profile[qv->tx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all()
3826 itr = vport->rx_itr_profile[qv->rx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all()
3864 if (dim->profile_ix >= ARRAY_SIZE(vport->tx_itr_profile)) in idpf_tx_dim_work()
3865 dim->profile_ix = ARRAY_SIZE(vport->tx_itr_profile) - 1; in idpf_tx_dim_work()
3868 itr = vport->tx_itr_profile[dim->profile_ix]; in idpf_tx_dim_work()
3890 if (dim->profile_ix >= ARRAY_SIZE(vport->rx_itr_profile)) in idpf_rx_dim_work()
3891 dim->profile_ix = ARRAY_SIZE(vport->rx_itr_profile) - 1; in idpf_rx_dim_work()
3894 itr = vport->rx_itr_profile[dim->profile_ix]; in idpf_rx_dim_work()
3909 qv->tx_dim.profile_ix = IDPF_DIM_DEFAULT_PROFILE_IX; in idpf_init_dim()
3913 qv->rx_dim.profile_ix = IDPF_DIM_DEFAULT_PROFILE_IX; in idpf_init_dim()
/linux-6.15/drivers/soc/fsl/dpio/
H A Ddpio-service.c116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in dpaa2_io_dim_work()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1169 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
1199 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
/linux-6.15/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c2104 return min(1 << (lp->rx_dim.profile_ix << 1), 255); in axienet_dim_coalesce_count_rx()
3046 lp->rx_dim.profile_ix = 1; in axienet_probe()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c509 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info()
H A Dhns3_enet.c4638 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work()
4658 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c67 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
69 cur_moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
/linux-6.15/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3675 dim->profile_ix); in mtk_dim_rx()
3706 dim->profile_ix); in mtk_dim_tx()
/linux-6.15/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1097 dim->profile_ix); in bcm_sysport_dim_work()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c1811 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1021 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
/linux-6.15/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c2417 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
/linux-6.15/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c1337 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()