Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c20 struct tsnep_stats { struct
34 #define TSNEP_STATS_COUNT (sizeof(struct tsnep_stats) / sizeof(u64)) argument
173 struct tsnep_stats tsnep_stats; in tsnep_ethtool_get_ethtool_stats() local
179 memset(&tsnep_stats, 0, sizeof(tsnep_stats)); in tsnep_ethtool_get_ethtool_stats()
181 tsnep_stats.rx_packets += adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats()
182 tsnep_stats.rx_bytes += adapter->rx[i].bytes; in tsnep_ethtool_get_ethtool_stats()
183 tsnep_stats.rx_dropped += adapter->rx[i].dropped; in tsnep_ethtool_get_ethtool_stats()
184 tsnep_stats.rx_multicast += adapter->rx[i].multicast; in tsnep_ethtool_get_ethtool_stats()
185 tsnep_stats.rx_alloc_failed += adapter->rx[i].alloc_failed; in tsnep_ethtool_get_ethtool_stats()
188 tsnep_stats.rx_phy_errors = in tsnep_ethtool_get_ethtool_stats()
[all …]