Home
last modified time | relevance | path

Searched refs:cur_moder (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_dim.c48 struct dim_cq_moder cur_moder = in mlx5e_rx_dim_work() local
51 mlx5e_complete_dim_work(dim, cur_moder, rq->mdev, &rq->cq.mcq); in mlx5e_rx_dim_work()
58 struct dim_cq_moder cur_moder = in mlx5e_tx_dim_work() local
61 mlx5e_complete_dim_work(dim, cur_moder, sq->cq.mdev, &sq->cq.mcq); in mlx5e_tx_dim_work()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dim.c23 struct dim_cq_moder cur_moder = in bnxt_dim_work() local
26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec; in bnxt_dim_work()
27 cpr->rx_ring_coal.coal_bufs = cur_moder.pkts; in bnxt_dim_work()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4632 struct dim_cq_moder cur_moder = in hns3_rx_dim_work() local
4635 hns3_set_vector_coalesce_rx_gl(group->ring->tqp_vector, cur_moder.usec); in hns3_rx_dim_work()
4636 tqp_vector->rx_group.coal.int_gl = cur_moder.usec; in hns3_rx_dim_work()
4638 if (cur_moder.pkts < tqp_vector->rx_group.coal.int_ql_max) { in hns3_rx_dim_work()
4639 hns3_set_vector_coalesce_rx_ql(tqp_vector, cur_moder.pkts); in hns3_rx_dim_work()
4640 tqp_vector->rx_group.coal.int_ql = cur_moder.pkts; in hns3_rx_dim_work()
4652 struct dim_cq_moder cur_moder = in hns3_tx_dim_work() local
4655 hns3_set_vector_coalesce_tx_gl(tqp_vector, cur_moder.usec); in hns3_tx_dim_work()
4656 tqp_vector->tx_group.coal.int_gl = cur_moder.usec; in hns3_tx_dim_work()
4658 if (cur_moder.pkts < tqp_vector->tx_group.coal.int_ql_max) { in hns3_tx_dim_work()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c1677 struct dim_cq_moder cur_moder; in otx2_dim_work() local
1683 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
1686 pfvf->hw.cq_time_wait = (cur_moder.usec > CQ_TIMER_THRESH_MAX) ? in otx2_dim_work()
1687 CQ_TIMER_THRESH_MAX : cur_moder.usec; in otx2_dim_work()
1688 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work()
1689 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c52 struct dim_cq_moder cur_moder; in ionic_dim_work() local
56 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
58 new_coal = ionic_coal_usec_to_hw(qcq->q.lif->ionic, cur_moder.usec); in ionic_dim_work()
/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1856 struct dim_cq_moder cur_moder = in ena_dim_work() local
1860 ena_napi->rx_ring->smoothed_interval = cur_moder.usec; in ena_dim_work()