Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c52 struct dim_sample dim_sample = {}; in mlx5e_handle_tx_dim() local
57 dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_tx_dim()
58 net_dim(&sq->dim, dim_sample); in mlx5e_handle_tx_dim()
64 struct dim_sample dim_sample = {}; in mlx5e_handle_rx_dim() local
69 dim_update_sample(rq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_rx_dim()
70 net_dim(&rq->dim, dim_sample); in mlx5e_handle_rx_dim()
/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c1132 struct dim_sample dim_sample = {}; in nfp_nfd3_poll() local
1142 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfd3_poll()
1143 net_dim(&r_vec->rx_dim, dim_sample); in nfp_nfd3_poll()
1147 struct dim_sample dim_sample = {}; in nfp_nfd3_poll() local
1157 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfd3_poll()
1158 net_dim(&r_vec->tx_dim, dim_sample); in nfp_nfd3_poll()
/drivers/soc/fsl/dpio/
Ddpio-service.c883 struct dim_sample dim_sample = {}; in dpaa2_io_update_net_dim() local
893 dim_update_sample(d->event_ctr, d->frames, d->bytes, &dim_sample); in dpaa2_io_update_net_dim()
894 net_dim(&d->rx_dim, dim_sample); in dpaa2_io_update_net_dim()
/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c1237 struct dim_sample dim_sample = {}; in nfp_nfdk_poll() local
1247 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfdk_poll()
1248 net_dim(&r_vec->rx_dim, dim_sample); in nfp_nfdk_poll()
1252 struct dim_sample dim_sample = {}; in nfp_nfdk_poll() local
1262 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfdk_poll()
1263 net_dim(&r_vec->tx_dim, dim_sample); in nfp_nfdk_poll()
/drivers/net/ethernet/intel/ice/
Dice_txrx.c1286 struct dim_sample *sample, in __ice_update_sample()
1334 struct dim_sample dim_sample; in ice_net_dim() local
1336 __ice_update_sample(q_vector, tx, &dim_sample, true); in ice_net_dim()
1337 net_dim(&tx->dim, dim_sample); in ice_net_dim()
1341 struct dim_sample dim_sample; in ice_net_dim() local
1343 __ice_update_sample(q_vector, rx, &dim_sample, false); in ice_net_dim()
1344 net_dim(&rx->dim, dim_sample); in ice_net_dim()
/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c525 struct dim_sample dim_sample; in ionic_dim_update() local
552 pkts, bytes, &dim_sample); in ionic_dim_update()
554 net_dim(&qcq->dim, dim_sample); in ionic_dim_update()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c511 struct dim_sample dim_sample; in otx2_adjust_adaptive_coalese() local
524 &dim_sample); in otx2_adjust_adaptive_coalese()
525 net_dim(&cq_poll->dim, dim_sample); in otx2_adjust_adaptive_coalese()
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1785 struct dim_sample dim_sample = {}; in mtk_poll_rx() local
1981 &dim_sample); in mtk_poll_rx()
1982 net_dim(&eth->rx_dim, dim_sample); in mtk_poll_rx()
2091 struct dim_sample dim_sample = {}; in mtk_poll_tx() local
2114 &dim_sample); in mtk_poll_tx()
2115 net_dim(&eth->tx_dim, dim_sample); in mtk_poll_tx()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c1019 struct dim_sample dim_sample = {}; in bcm_sysport_poll() local
1044 priv->dim.bytes, &dim_sample); in bcm_sysport_poll()
1045 net_dim(&priv->dim.dim, dim_sample); in bcm_sysport_poll()
/drivers/net/ethernet/freescale/enetc/
Denetc.c690 struct dim_sample dim_sample = {}; in enetc_rx_net_dim() local
700 &dim_sample); in enetc_rx_net_dim()
701 net_dim(&v->rx_dim, dim_sample); in enetc_rx_net_dim()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2396 struct dim_sample dim_sample = {}; in bcmgenet_rx_poll() local
2408 ring->dim.bytes, &dim_sample); in bcmgenet_rx_poll()
2409 net_dim(&ring->dim.dim, dim_sample); in bcmgenet_rx_poll()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1815 struct dim_sample dim_sample; in ena_adjust_adaptive_rx_intr_moderation() local
1826 &dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
1828 net_dim(&ena_napi->dim, dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c2764 struct dim_sample dim_sample = {}; in bnxt_poll() local
2769 &dim_sample); in bnxt_poll()
2770 net_dim(&cpr->dim, dim_sample); in bnxt_poll()
2877 struct dim_sample dim_sample = {}; in bnxt_poll_p5() local
2882 &dim_sample); in bnxt_poll_p5()
2883 net_dim(&cpr->dim, dim_sample); in bnxt_poll_p5()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4444 struct dim_sample sample = {}; in hns3_update_rx_int_coalesce()
4457 struct dim_sample sample = {}; in hns3_update_tx_int_coalesce()