/linux-6.6.21/include/linux/ |
D | dim.h | 59 struct dim_sample { struct 105 struct dim_sample start_sample; 106 struct dim_sample measuring_sample; 241 bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end, 252 dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) in dim_update_sample() 271 struct dim_sample *s) in dim_update_sample_with_comps() 314 void net_dim(struct dim *dim, struct dim_sample end_sample);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_txrx.c | 52 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.6.21/Documentation/networking/ |
D | net_dim.rst | 93 :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.6.21/lib/dim/ |
D | dim.c | 57 bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end, in dim_calc_stats()
|
D | rdma_dim.c | 78 struct dim_sample *curr_sample = &dim->measuring_sample; in rdma_dim()
|
D | net_dim.c | 218 void net_dim(struct dim *dim, struct dim_sample end_sample) in net_dim()
|
/linux-6.6.21/drivers/soc/fsl/dpio/ |
D | dpio-service.c | 883 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.6.21/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 1168 struct dim_sample dim_sample = {}; in nfp_nfd3_poll() local 1178 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfd3_poll() 1179 net_dim(&r_vec->rx_dim, dim_sample); in nfp_nfd3_poll() 1183 struct dim_sample dim_sample = {}; in nfp_nfd3_poll() local 1193 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfd3_poll() 1194 net_dim(&r_vec->tx_dim, dim_sample); in nfp_nfd3_poll()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 1278 struct dim_sample dim_sample = {}; in nfp_nfdk_poll() local 1288 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfdk_poll() 1289 net_dim(&r_vec->rx_dim, dim_sample); in nfp_nfdk_poll() 1293 struct dim_sample dim_sample = {}; in nfp_nfdk_poll() local 1303 dim_update_sample(r_vec->event_ctr, pkts, bytes, &dim_sample); in nfp_nfdk_poll() 1304 net_dim(&r_vec->tx_dim, dim_sample); in nfp_nfdk_poll()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1335 struct dim_sample *sample, in __ice_update_sample() 1393 struct dim_sample dim_sample; in ice_net_dim() local 1395 __ice_update_sample(q_vector, tx, &dim_sample, true); in ice_net_dim() 1396 net_dim(&tx->dim, dim_sample); in ice_net_dim() 1400 struct dim_sample dim_sample; in ice_net_dim() local 1402 __ice_update_sample(q_vector, rx, &dim_sample, false); in ice_net_dim() 1403 net_dim(&rx->dim, dim_sample); in ice_net_dim()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 513 struct dim_sample dim_sample; in otx2_adjust_adaptive_coalese() local 526 &dim_sample); in otx2_adjust_adaptive_coalese() 527 net_dim(&cq_poll->dim, dim_sample); in otx2_adjust_adaptive_coalese()
|
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 535 struct dim_sample dim_sample; in ionic_dim_update() local 562 pkts, bytes, &dim_sample); in ionic_dim_update() 564 net_dim(&qcq->dim, dim_sample); in ionic_dim_update()
|
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1999 struct dim_sample dim_sample = {}; in mtk_poll_rx() local 2209 &dim_sample); in mtk_poll_rx() 2210 net_dim(ð->rx_dim, dim_sample); in mtk_poll_rx() 2347 struct dim_sample dim_sample = {}; in mtk_poll_tx() local 2359 &dim_sample); in mtk_poll_tx() 2360 net_dim(ð->tx_dim, dim_sample); in mtk_poll_tx()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1030 struct dim_sample dim_sample = {}; in bcm_sysport_poll() local 1055 priv->dim.bytes, &dim_sample); in bcm_sysport_poll() 1056 net_dim(&priv->dim.dim, dim_sample); in bcm_sysport_poll()
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 710 struct dim_sample dim_sample = {}; in enetc_rx_net_dim() local 720 &dim_sample); in enetc_rx_net_dim() 721 net_dim(&v->rx_dim, dim_sample); in enetc_rx_net_dim()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 2397 struct dim_sample dim_sample = {}; in bcmgenet_rx_poll() local 2409 ring->dim.bytes, &dim_sample); in bcmgenet_rx_poll() 2410 net_dim(&ring->dim.dim, dim_sample); in bcmgenet_rx_poll()
|
/linux-6.6.21/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1865 struct dim_sample dim_sample; in ena_adjust_adaptive_rx_intr_moderation() local 1876 &dim_sample); in ena_adjust_adaptive_rx_intr_moderation() 1878 net_dim(&ena_napi->dim, dim_sample); in ena_adjust_adaptive_rx_intr_moderation()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 2725 struct dim_sample dim_sample = {}; in bnxt_poll() local 2730 &dim_sample); in bnxt_poll() 2731 net_dim(&cpr->dim, dim_sample); in bnxt_poll() 2839 struct dim_sample dim_sample = {}; in bnxt_poll_p5() local 2844 &dim_sample); in bnxt_poll_p5() 2845 net_dim(&cpr->dim, dim_sample); in bnxt_poll_p5()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 4445 struct dim_sample sample = {}; in hns3_update_rx_int_coalesce() 4458 struct dim_sample sample = {}; in hns3_update_tx_int_coalesce()
|