/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | 1294 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 D | rdma_dim.c | 78 struct dim_sample *curr_sample = &dim->measuring_sample; in rdma_dim()
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.c | 3648 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 D | otx2_txrx.c | 528 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 D | ionic_txrx.c | 902 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 D | mtk_eth_soc.c | 2017 struct dim_sample dim_sample = {}; in mtk_poll_rx() local 2229 &dim_sample); in mtk_poll_rx() 2230 net_dim(ð->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(ð->tx_dim, &dim_sample); in mtk_poll_tx()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 996 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 D | enetc.c | 715 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 D | ena_netdev.c | 1373 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 D | bnxt.c | 3168 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 D | hns3_enet.c | 4444 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 D | virtio_net.c | 2977 struct dim_sample cur_sample = {}; in virtnet_rx_dim_update()
|