Searched refs:cur_moder (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dim.c | 23 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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dim.c | 49 struct dim_cq_moder cur_moder = in mlx5e_rx_dim_work() local 52 mlx5e_complete_dim_work(dim, cur_moder, rq->mdev, &rq->cq.mcq); in mlx5e_rx_dim_work() 59 struct dim_cq_moder cur_moder = in mlx5e_tx_dim_work() local 62 mlx5e_complete_dim_work(dim, cur_moder, sq->cq.mdev, &sq->cq.mcq); in mlx5e_tx_dim_work()
|
D | en_ethtool.c | 584 struct dim_cq_moder cur_moder; in mlx5e_ethtool_get_per_queue_coalesce() local 603 cur_moder = net_dim_get_rx_moderation(c->rq.dim->mode, in mlx5e_ethtool_get_per_queue_coalesce() 606 coal->rx_coalesce_usecs = cur_moder.usec; in mlx5e_ethtool_get_per_queue_coalesce() 607 coal->rx_max_coalesced_frames = cur_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce() 619 cur_moder = net_dim_get_tx_moderation(c->sq[0].dim->mode, in mlx5e_ethtool_get_per_queue_coalesce() 622 coal->tx_coalesce_usecs = cur_moder.usec; in mlx5e_ethtool_get_per_queue_coalesce() 623 coal->tx_max_coalesced_frames = cur_moder.pkts; in mlx5e_ethtool_get_per_queue_coalesce()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 4631 struct dim_cq_moder cur_moder = in hns3_rx_dim_work() local 4634 hns3_set_vector_coalesce_rx_gl(group->ring->tqp_vector, cur_moder.usec); in hns3_rx_dim_work() 4635 tqp_vector->rx_group.coal.int_gl = cur_moder.usec; in hns3_rx_dim_work() 4637 if (cur_moder.pkts < tqp_vector->rx_group.coal.int_ql_max) { in hns3_rx_dim_work() 4638 hns3_set_vector_coalesce_rx_ql(tqp_vector, cur_moder.pkts); in hns3_rx_dim_work() 4639 tqp_vector->rx_group.coal.int_ql = cur_moder.pkts; in hns3_rx_dim_work() 4651 struct dim_cq_moder cur_moder = in hns3_tx_dim_work() local 4654 hns3_set_vector_coalesce_tx_gl(tqp_vector, cur_moder.usec); in hns3_tx_dim_work() 4655 tqp_vector->tx_group.coal.int_gl = cur_moder.usec; in hns3_tx_dim_work() 4657 if (cur_moder.pkts < tqp_vector->tx_group.coal.int_ql_max) { in hns3_tx_dim_work() [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 1756 struct dim_cq_moder cur_moder; in otx2_dim_work() local 1762 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in otx2_dim_work() 1765 pfvf->hw.cq_time_wait = (cur_moder.usec > CQ_TIMER_THRESH_MAX) ? in otx2_dim_work() 1766 CQ_TIMER_THRESH_MAX : cur_moder.usec; in otx2_dim_work() 1767 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work() 1768 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.c | 57 struct dim_cq_moder cur_moder; in ionic_dim_work() local 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() 71 new_coal = ionic_coal_usec_to_hw(lif->ionic, cur_moder.usec); in ionic_dim_work()
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1363 struct dim_cq_moder cur_moder = in ena_dim_work() local 1367 ena_napi->rx_ring->smoothed_interval = cur_moder.usec; in ena_dim_work()
|