Home
last modified time | relevance | path

Searched refs:rxq_stats (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_rx.c55 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_clean_stats() local
57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats()
58 rxq_stats->pkts = 0; in hinic_rxq_clean_stats()
59 rxq_stats->bytes = 0; in hinic_rxq_clean_stats()
60 rxq_stats->errors = 0; in hinic_rxq_clean_stats()
61 rxq_stats->csum_errors = 0; in hinic_rxq_clean_stats()
62 rxq_stats->other_errors = 0; in hinic_rxq_clean_stats()
63 u64_stats_update_end(&rxq_stats->syncp); in hinic_rxq_clean_stats()
73 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_get_stats() local
77 start = u64_stats_fetch_begin(&rxq_stats->syncp); in hinic_rxq_get_stats()
[all …]
H A Dhinic_rx.h35 struct hinic_rxq_stats rxq_stats; member
H A Dhinic_ethtool.c1369 struct hinic_rxq_stats rxq_stats; in get_drv_queue_stats() local
1390 hinic_rxq_get_stats(&nic_dev->rxqs[qid], &rxq_stats); in get_drv_queue_stats()
1392 p = (char *)&rxq_stats + in get_drv_queue_stats()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c605 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[q]; in stmmac_get_per_qstats() local
609 start = u64_stats_fetch_begin(&rxq_stats->napi_syncp); in stmmac_get_per_qstats()
610 pkt_n = u64_stats_read(&rxq_stats->napi.rx_pkt_n); in stmmac_get_per_qstats()
611 } while (u64_stats_fetch_retry(&rxq_stats->napi_syncp, start)); in stmmac_get_per_qstats()
672 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[i]; in stmmac_get_ethtool_stats() local
678 start = u64_stats_fetch_begin(&rxq_stats->napi_syncp); in stmmac_get_ethtool_stats()
679 snapshot = rxq_stats->napi; in stmmac_get_ethtool_stats()
680 } while (u64_stats_fetch_retry(&rxq_stats->napi_syncp, start)); in stmmac_get_ethtool_stats()
H A Dstmmac_main.c4991 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_dispatch_skb_zc() local
5020 u64_stats_update_begin(&rxq_stats->napi_syncp); in stmmac_dispatch_skb_zc()
5021 u64_stats_inc(&rxq_stats->napi.rx_pkt_n); in stmmac_dispatch_skb_zc()
5022 u64_stats_add(&rxq_stats->napi.rx_bytes, len); in stmmac_dispatch_skb_zc()
5023 u64_stats_update_end(&rxq_stats->napi_syncp); in stmmac_dispatch_skb_zc()
5096 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_rx_zc() local
5259 u64_stats_update_begin(&rxq_stats->napi_syncp); in stmmac_rx_zc()
5260 u64_stats_add(&rxq_stats->napi.rx_pkt_n, count); in stmmac_rx_zc()
5261 u64_stats_update_end(&rxq_stats->napi_syncp); in stmmac_rx_zc()
5289 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_rx() local
[all …]
H A Dcommon.h230 struct stmmac_rxq_stats rxq_stats[MTL_MAX_RX_QUEUES]; member
/openbmc/qemu/hw/net/
H A Dvmxnet3_defs.h55 struct UPT1_RxStats rxq_stats; member
H A Dvmxnet3.c537 struct UPT1_RxStats *stats = &s->rxq_descr[qidx].rxq_stats; in vmxnet3_on_rx_done_update_stats()
1279 &s->rxq_descr[i].rxq_stats, in vmxnet3_fill_stats()
1280 sizeof(s->rxq_descr[i].rxq_stats)); in vmxnet3_fill_stats()
1569 memset(&s->rxq_descr[i].rxq_stats, 0, in vmxnet3_activate_device()
1570 sizeof(s->rxq_descr[i].rxq_stats)); in vmxnet3_activate_device()
2390 VMSTATE_STRUCT(rxq_stats, Vmxnet3RxqDescr, 0, vmstate_vmxnet3_rx_stats,