Home
last modified time | relevance | path

Searched refs:dim_sample (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1294 struct dim_sample *sample, in __ice_update_sample()
1352 struct dim_sample dim_sample; in ice_net_dim() local
1354 __ice_update_sample(q_vector, tx, &dim_sample, true); in ice_net_dim()
1355 net_dim(&tx->dim, &dim_sample); in ice_net_dim()
1359 struct dim_sample dim_sample; in ice_net_dim() local
1361 __ice_update_sample(q_vector, rx, &dim_sample, false); in ice_net_dim()
1362 net_dim(&rx->dim, &dim_sample); in ice_net_dim()
/linux/lib/dim/
H A Drdma_dim.c78 struct dim_sample *curr_sample = &dim->measuring_sample; in rdma_dim()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c3648 struct dim_sample *dim_sample, in idpf_update_dim_sample() argument
3651 dim_update_sample(q_vector->total_events, packets, bytes, dim_sample); in idpf_update_dim_sample()
3652 dim_sample->comp_ctr = 0; in idpf_update_dim_sample()
3658 if (ktime_ms_delta(dim_sample->time, dim->start_sample.time) >= HZ) in idpf_update_dim_sample()
3673 struct dim_sample dim_sample = { }; in idpf_net_dim() local
3691 idpf_update_dim_sample(q_vector, &dim_sample, &q_vector->tx_dim, in idpf_net_dim()
3693 net_dim(&q_vector->tx_dim, &dim_sample); in idpf_net_dim()
3710 idpf_update_dim_sample(q_vector, &dim_sample, &q_vector->rx_dim, in idpf_net_dim()
3712 net_dim(&q_vector->rx_dim, &dim_sample); in idpf_net_dim()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c528 struct dim_sample dim_sample = { 0 }; in otx2_adjust_adaptive_coalese() local
541 &dim_sample); in otx2_adjust_adaptive_coalese()
542 net_dim(&cq_poll->dim, &dim_sample); in otx2_adjust_adaptive_coalese()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c902 struct dim_sample dim_sample; in ionic_dim_update() local
929 pkts, bytes, &dim_sample); in ionic_dim_update()
931 net_dim(&qcq->dim, &dim_sample); in ionic_dim_update()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c2017 struct dim_sample dim_sample = {}; in mtk_poll_rx() local
2229 &dim_sample); in mtk_poll_rx()
2230 net_dim(&eth->rx_dim, &dim_sample); in mtk_poll_rx()
2367 struct dim_sample dim_sample = {}; in mtk_poll_tx() local
2379 &dim_sample); in mtk_poll_tx()
2380 net_dim(&eth->tx_dim, &dim_sample); in mtk_poll_tx()
/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c996 struct dim_sample dim_sample = {}; in bcm_sysport_poll() local
1021 priv->dim.bytes, &dim_sample); in bcm_sysport_poll()
1022 net_dim(&priv->dim.dim, &dim_sample); in bcm_sysport_poll()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c715 struct dim_sample dim_sample = {}; in enetc_rx_net_dim() local
725 &dim_sample); in enetc_rx_net_dim()
726 net_dim(&v->rx_dim, &dim_sample); in enetc_rx_net_dim()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c1373 struct dim_sample dim_sample; in ena_adjust_adaptive_rx_intr_moderation() local
1384 &dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
1386 net_dim(&ena_napi->dim, &dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c3168 struct dim_sample dim_sample = {}; in bnxt_poll() local
3173 &dim_sample); in bnxt_poll()
3174 net_dim(&cpr->dim, &dim_sample); in bnxt_poll()
3299 struct dim_sample dim_sample = {}; in bnxt_poll_p5() local
3304 &dim_sample); in bnxt_poll_p5()
3305 net_dim(&cpr->dim, &dim_sample); in bnxt_poll_p5()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4444 struct dim_sample sample = {}; in hns3_update_rx_int_coalesce()
4457 struct dim_sample sample = {}; in hns3_update_tx_int_coalesce()
/linux/drivers/net/
H A Dvirtio_net.c2977 struct dim_sample cur_sample = {}; in virtnet_rx_dim_update()