Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/infiniband/core/
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()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_trace.h77 __entry->dim->profile_ix,
104 __entry->dim->profile_ix,
Dice_main.c5514 if (dim->profile_ix >= ARRAY_SIZE(tx_profile)) in ice_tx_dim_work()
5515 dim->profile_ix = ARRAY_SIZE(tx_profile) - 1; in ice_tx_dim_work()
5518 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work()
5519 intrl = tx_profile[dim->profile_ix].intrl; in ice_tx_dim_work()
5539 if (dim->profile_ix >= ARRAY_SIZE(rx_profile)) in ice_rx_dim_work()
5540 dim->profile_ix = ARRAY_SIZE(rx_profile) - 1; in ice_rx_dim_work()
5543 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work()
5544 intrl = rx_profile[dim->profile_ix].intrl; in ice_rx_dim_work()
/Linux-v5.15/include/linux/
Ddim.h109 u8 profile_ix; member
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2433 dim->profile_ix); in mtk_dim_rx()
2463 dim->profile_ix); in mtk_dim_tx()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c3005 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work()
3036 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4424 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work()
4444 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbcmsysport.c1120 dim->profile_ix); in bcm_sysport_dim_work()
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc.c412 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2363 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1792 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c51 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()