Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddim.h109 u8 profile_ix; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc.c292 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1115 dim->profile_ix); in bcm_sysport_dim_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c52 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c2368 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c1697 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()