Home
last modified time | relevance | path

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

/linux-5.19.10/lib/dim/
Dnet_dim.c77 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? in net_dim_get_def_rx_moderation() local
80 return net_dim_get_rx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_rx_moderation()
97 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? in net_dim_get_def_tx_moderation() local
100 return net_dim_get_tx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_tx_moderation()
114 if (dim->profile_ix == (NET_DIM_PARAMS_NUM_PROFILES - 1)) in net_dim_step()
116 dim->profile_ix++; in net_dim_step()
120 if (dim->profile_ix == 0) in net_dim_step()
122 dim->profile_ix--; in net_dim_step()
133 dim->tune_state = dim->profile_ix ? DIM_GOING_LEFT : DIM_GOING_RIGHT; in net_dim_exit_parking()
168 int prev_ix = dim->profile_ix; in net_dim_decision()
[all …]
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()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dim.c49 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in mlx5e_rx_dim_work()
59 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in mlx5e_tx_dim_work()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dim.c24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bnxt_dim_work()
Dbnxt_debugfs.c41 dim->profile_ix, in debugfs_dim_read()
/linux-5.19.10/drivers/infiniband/core/
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-5.19.10/drivers/net/ethernet/intel/ice/
Dice_trace.h77 __entry->dim->profile_ix,
104 __entry->dim->profile_ix,
Dice_main.c6108 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work()
6111 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work()
6128 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work()
6131 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work()
6159 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6165 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation()
6170 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6175 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
/linux-5.19.10/include/linux/
Ddim.h109 u8 profile_ix; member
/linux-5.19.10/drivers/soc/fsl/dpio/
Ddpio-service.c116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in dpaa2_io_dim_work()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1121 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
1150 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c468 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info()
Dhns3_enet.c4555 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work()
4575 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
/linux-5.19.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2699 dim->profile_ix); in mtk_dim_rx()
2730 dim->profile_ix); in mtk_dim_tx()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c1120 dim->profile_ix); in bcm_sysport_dim_work()
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c1559 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc.c680 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c52 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
/linux-5.19.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1787 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()
/linux-5.19.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2416 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()