Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Ddim.h59 struct dim_sample { struct
105 struct dim_sample start_sample;
106 struct dim_sample measuring_sample;
240 void dim_calc_stats(struct dim_sample *start, struct dim_sample *end,
251 dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) in dim_update_sample()
270 struct dim_sample *s) in dim_update_sample_with_comps()
313 void net_dim(struct dim *dim, struct dim_sample end_sample);
/linux-6.1.9/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()
/linux-6.1.9/Documentation/networking/
Dnet_dim.rst93 :c:type:`struct dim_sample <dim_sample>`. :c:type:`struct dim <dim>`
97 :c:type:`struct dim_sample <dim_sample>` describes a data sample,
111 The :c:type:`struct dim_sample <dim_sample>` should hold the latest
151 struct dim_sample dim_sample;
157 &dim_sample);
159 net_dim(&my_entity->dim, dim_sample);
/linux-6.1.9/lib/dim/
Ddim.c57 void dim_calc_stats(struct dim_sample *start, struct dim_sample *end, in dim_calc_stats()
Drdma_dim.c78 struct dim_sample *curr_sample = &dim->measuring_sample; in rdma_dim()
Dnet_dim.c218 void net_dim(struct dim *dim, struct dim_sample end_sample) in net_dim()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c501 struct dim_sample dim_sample; in otx2_adjust_adaptive_coalese() local
507 dim_update_sample(pfvf->napi_events, rx_frames, rx_bytes, &dim_sample); in otx2_adjust_adaptive_coalese()
508 net_dim(&cq_poll->dim, dim_sample); in otx2_adjust_adaptive_coalese()
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c445 struct dim_sample dim_sample; in ionic_dim_update() local
472 pkts, bytes, &dim_sample); in ionic_dim_update()
474 net_dim(&qcq->dim, dim_sample); in ionic_dim_update()
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1784 struct dim_sample dim_sample = {}; in mtk_poll_rx() local
1980 &dim_sample); in mtk_poll_rx()
1981 net_dim(&eth->rx_dim, dim_sample); in mtk_poll_rx()
2090 struct dim_sample dim_sample = {}; in mtk_poll_tx() local
2113 &dim_sample); in mtk_poll_tx()
2114 net_dim(&eth->tx_dim, dim_sample); in mtk_poll_tx()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1808 struct dim_sample dim_sample; in ena_adjust_adaptive_rx_intr_moderation() local
1819 &dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
1821 net_dim(&ena_napi->dim, dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2389 struct dim_sample dim_sample = {}; in bcmgenet_rx_poll() local
2401 ring->dim.bytes, &dim_sample); in bcmgenet_rx_poll()
2402 net_dim(&ring->dim.dim, dim_sample); in bcmgenet_rx_poll()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c2734 struct dim_sample dim_sample = {}; in bnxt_poll() local
2739 &dim_sample); in bnxt_poll()
2740 net_dim(&cpr->dim, dim_sample); in bnxt_poll()
2847 struct dim_sample dim_sample = {}; in bnxt_poll_p5() local
2852 &dim_sample); in bnxt_poll_p5()
2853 net_dim(&cpr->dim, dim_sample); in bnxt_poll_p5()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4430 struct dim_sample sample = {}; in hns3_update_rx_int_coalesce()
4443 struct dim_sample sample = {}; in hns3_update_tx_int_coalesce()