| /linux/lib/dim/ |
| 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()
|
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A 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()
|
| /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()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.c | 1080 itr = qv->vport->tx_itr_profile[qv->tx_dim.profile_ix]; in idpf_qvec_ena_irq() 1091 itr = qv->vport->rx_itr_profile[qv->rx_dim.profile_ix]; in idpf_qvec_ena_irq() 4130 itr = vport->tx_itr_profile[qv->tx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all() 4138 itr = vport->rx_itr_profile[qv->rx_dim.profile_ix]; in idpf_vport_intr_ena_irq_all() 4180 if (dim->profile_ix >= ARRAY_SIZE(vport->tx_itr_profile)) in idpf_tx_dim_work() 4181 dim->profile_ix = ARRAY_SIZE(vport->tx_itr_profile) - 1; in idpf_tx_dim_work() 4184 itr = vport->tx_itr_profile[dim->profile_ix]; in idpf_tx_dim_work() 4206 if (dim->profile_ix >= ARRAY_SIZE(vport->rx_itr_profile)) in idpf_rx_dim_work() 4207 dim->profile_ix = ARRAY_SIZE(vport->rx_itr_profile) - 1; in idpf_rx_dim_work() 4210 itr = vport->rx_itr_profile[dim->profile_ix]; in idpf_rx_dim_work() [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_irq.c | 190 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hinic3_rx_dim_work()
|
| /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()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 6612 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile)); in ice_tx_dim_work() 6615 itr = tx_profile[dim->profile_ix].itr; in ice_tx_dim_work() 6632 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile)); in ice_rx_dim_work() 6635 itr = rx_profile[dim->profile_ix].itr; in ice_rx_dim_work() 6663 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6669 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting); in ice_init_moderation() 6674 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX; in ice_init_moderation() 6679 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr : in ice_init_moderation()
|
| /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() 1199 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work()
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_axienet_main.c | 2121 return min(1 << (lp->rx_dim.profile_ix << 1), 255); in axienet_dim_coalesce_count_rx() 3046 lp->rx_dim.profile_ix = 1; in axienet_probe()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_lib.c | 1716 rx_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in wx_rx_dim_work() 1734 tx_moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in wx_tx_dim_work()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_lif.c | 68 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work() 70 cur_moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 1097 dim->profile_ix); in bcm_sysport_dim_work()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 4681 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in hns3_rx_dim_work() 4701 net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in hns3_tx_dim_work()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 3865 dim->profile_ix); in mtk_dim_rx() 3896 dim->profile_ix); in mtk_dim_tx()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 1900 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
|
| /linux/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_netdev.c | 1341 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ena_dim_work()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 1102 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in enetc_rx_dim_work()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 2494 net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in bcmgenet_dim_work()
|