Home
last modified time | relevance | path

Searched refs:profile_ix (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/lib/dim/
H A 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...]
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()
/kernel/linux/linux-6.6/lib/dim/
H A 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...]
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/kernel/linux/linux-5.10/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.c34 "profile_ix = %d\n" \ in debugfs_dim_read()
41 dim->profile_ix, in debugfs_dim_read()
/kernel/linux/linux-6.6/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.c34 "profile_ix = %d\n" \ in debugfs_dim_read()
41 dim->profile_ix, in debugfs_dim_read()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcq.c45 u16 usec = rdma_dim_prof[dim->profile_ix].usec; in ib_cq_rdma_dim_work()
46 u16 comps = rdma_dim_prof[dim->profile_ix].comps; in ib_cq_rdma_dim_work()
68 dim->profile_ix = RDMA_DIM_START_PROFILE; in rdma_dim_init()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_trace.h78 __entry->dim->profile_ix,
105 __entry->dim->profile_ix,
H A Dice_main.c6343 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work()
6346 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work()
6363 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work()
6366 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work()
6394 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6400 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation()
6405 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation()
6410 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
/kernel/linux/linux-5.10/include/linux/
H A Ddim.h95 * @profile_ix: Current moderation profile
109 u8 profile_ix; member
/kernel/linux/linux-6.6/include/linux/
H A Ddim.h95 * @profile_ix: Current moderation profile
109 u8 profile_ix; member
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/
H A Ddpio-service.c116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in dpaa2_io_dim_work()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1170 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc.c293 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c505 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info()
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3580 dim->profile_ix); in mtk_dim_rx()
3611 dim->profile_ix); in mtk_dim_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1115 dim->profile_ix); in bcm_sysport_dim_work()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1131 dim->profile_ix); in bcm_sysport_dim_work()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c54 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc.c700 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()

Completed in 49 milliseconds

12