/openbmc/linux/lib/dim/ |
H A D | net_dim.c | 77 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 D | rdma_dim.c | 11 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 49 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dim.c | 24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bnxt_dim_work()
|
H A D | bnxt_debugfs.c | 41 dim->profile_ix, in debugfs_dim_read()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cq.c | 44 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()
|
/openbmc/linux/include/linux/ |
H A D | dim.h | 109 u8 profile_ix; member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_trace.h | 78 __entry->dim->profile_ix, 105 __entry->dim->profile_ix,
|
H A D | ice_main.c | 6380 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work() 6383 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work() 6400 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work() 6403 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work() 6431 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6437 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation() 6442 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6447 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in dpaa2_io_dim_work()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1169 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work() 1198 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 505 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info()
|
H A D | hns3_enet.c | 4636 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work() 4656 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 3580 dim->profile_ix); in mtk_dim_rx() 3611 dim->profile_ix); in mtk_dim_tx()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1131 dim->profile_ix); in bcm_sysport_dim_work()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 1766 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 745 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 1338 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 2424 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.c | 58 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
|