/linux-6.12.1/lib/dim/ |
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()
|
D | net_dim.c | 72 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? in net_dim_get_def_rx_moderation() local 75 return net_dim_get_rx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_rx_moderation() 92 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? in net_dim_get_def_tx_moderation() local 95 return net_dim_get_tx_moderation(cq_period_mode, profile_ix); in net_dim_get_def_tx_moderation() 199 res = profile[dim->profile_ix]; in net_dim_get_rx_irq_moder() 215 res = profile[dim->profile_ix]; in net_dim_get_tx_irq_moder() 246 if (dim->profile_ix == (NET_DIM_PARAMS_NUM_PROFILES - 1)) in net_dim_step() 248 dim->profile_ix++; in net_dim_step() 252 if (dim->profile_ix == 0) in net_dim_step() 254 dim->profile_ix--; in net_dim_step() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dim.c | 50 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in mlx5e_rx_dim_work() 60 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in mlx5e_tx_dim_work()
|
D | en_ethtool.c | 604 c->rq.dim->profile_ix); in mlx5e_ethtool_get_per_queue_coalesce() 620 c->sq[0].dim->profile_ix); in mlx5e_ethtool_get_per_queue_coalesce()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dim.c | 24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bnxt_dim_work()
|
D | bnxt_debugfs.c | 41 dim->profile_ix, in debugfs_dim_read()
|
/linux-6.12.1/drivers/infiniband/core/ |
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()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_trace.h | 78 __entry->dim->profile_ix, 105 __entry->dim->profile_ix,
|
D | ice_main.c | 6619 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work() 6622 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work() 6639 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work() 6642 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work() 6670 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6676 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation() 6681 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6686 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
|
/linux-6.12.1/include/linux/ |
D | dim.h | 151 u8 profile_ix; member
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_txrx.c | 3816 itr = vport->tx_itr_profile[qv->tx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all() 3824 itr = vport->rx_itr_profile[qv->rx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all() 3862 if (dim->profile_ix >= ARRAY_SIZE(vport->tx_itr_profile)) in idpf_tx_dim_work() 3863 dim->profile_ix = ARRAY_SIZE(vport->tx_itr_profile) - 1; in idpf_tx_dim_work() 3866 itr = vport->tx_itr_profile[dim->profile_ix]; in idpf_tx_dim_work() 3888 if (dim->profile_ix >= ARRAY_SIZE(vport->rx_itr_profile)) in idpf_rx_dim_work() 3889 dim->profile_ix = ARRAY_SIZE(vport->rx_itr_profile) - 1; in idpf_rx_dim_work() 3892 itr = vport->rx_itr_profile[dim->profile_ix]; in idpf_rx_dim_work() 3907 qv->tx_dim.profile_ix = IDPF_DIM_DEFAULT_PROFILE_IX; in idpf_init_dim() 3911 qv->rx_dim.profile_ix = IDPF_DIM_DEFAULT_PROFILE_IX; in idpf_init_dim()
|
/linux-6.12.1/drivers/soc/fsl/dpio/ |
D | dpio-service.c | 116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in dpaa2_io_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 1169 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()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 508 sprintf(result[j++], "%u", dim->profile_ix); in hns3_get_coal_info()
|
D | hns3_enet.c | 4632 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work() 4652 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.c | 67 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work() 69 cur_moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 3619 dim->profile_ix); in mtk_dim_rx() 3650 dim->profile_ix); in mtk_dim_tx()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1131 dim->profile_ix); in bcm_sysport_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 1762 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 700 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1364 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 2422 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
|