Home
last modified time | relevance | path

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

/Linux-v6.1/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.1/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.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4619 struct dim_cq_moder cur_moder = in hns3_rx_dim_work() local
4622 hns3_set_vector_coalesce_rx_gl(group->ring->tqp_vector, cur_moder.usec); in hns3_rx_dim_work()
4623 tqp_vector->rx_group.coal.int_gl = cur_moder.usec; in hns3_rx_dim_work()
4625 if (cur_moder.pkts < tqp_vector->rx_group.coal.int_ql_max) { in hns3_rx_dim_work()
4626 hns3_set_vector_coalesce_rx_ql(tqp_vector, cur_moder.pkts); in hns3_rx_dim_work()
4627 tqp_vector->rx_group.coal.int_ql = cur_moder.pkts; in hns3_rx_dim_work()
4639 struct dim_cq_moder cur_moder = in hns3_tx_dim_work() local
4642 hns3_set_vector_coalesce_tx_gl(tqp_vector, cur_moder.usec); in hns3_tx_dim_work()
4643 tqp_vector->tx_group.coal.int_gl = cur_moder.usec; in hns3_tx_dim_work()
4645 if (cur_moder.pkts < tqp_vector->tx_group.coal.int_ql_max) { in hns3_tx_dim_work()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c1665 struct dim_cq_moder cur_moder; in otx2_dim_work() local
1671 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work()
1674 pfvf->hw.cq_time_wait = (cur_moder.usec > CQ_TIMER_THRESH_MAX) ? in otx2_dim_work()
1675 CQ_TIMER_THRESH_MAX : cur_moder.usec; in otx2_dim_work()
1676 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work()
1677 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c48 struct dim_cq_moder cur_moder; in ionic_dim_work() local
52 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in ionic_dim_work()
54 new_coal = ionic_coal_usec_to_hw(qcq->q.lif->ionic, cur_moder.usec); in ionic_dim_work()
/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1786 struct dim_cq_moder cur_moder = in ena_dim_work() local
1790 ena_napi->rx_ring->smoothed_interval = cur_moder.usec; in ena_dim_work()