Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c692 struct stmmac_napi_tx_stats napi_snapshot; in stmmac_get_ethtool_stats() local
703 napi_snapshot = txq_stats->napi; in stmmac_get_ethtool_stats()
706 data[j++] += u64_stats_read(&napi_snapshot.tx_pkt_n); in stmmac_get_ethtool_stats()
710 data[j++] += u64_stats_read(&napi_snapshot.tx_clean); in stmmac_get_ethtool_stats()
712 u64_stats_read(&napi_snapshot.tx_set_ic_bit); in stmmac_get_ethtool_stats()
715 napi_poll += u64_stats_read(&napi_snapshot.poll); in stmmac_get_ethtool_stats()