Home
last modified time | relevance | path

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

/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c19 struct tsnep_stats { struct
32 #define TSNEP_STATS_COUNT (sizeof(struct tsnep_stats) / sizeof(u64)) argument
169 struct tsnep_stats tsnep_stats; in tsnep_ethtool_get_ethtool_stats() local
175 memset(&tsnep_stats, 0, sizeof(tsnep_stats)); in tsnep_ethtool_get_ethtool_stats()
177 tsnep_stats.rx_packets += adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats()
178 tsnep_stats.rx_bytes += adapter->rx[i].bytes; in tsnep_ethtool_get_ethtool_stats()
179 tsnep_stats.rx_dropped += adapter->rx[i].dropped; in tsnep_ethtool_get_ethtool_stats()
180 tsnep_stats.rx_multicast += adapter->rx[i].multicast; in tsnep_ethtool_get_ethtool_stats()
183 tsnep_stats.rx_phy_errors = in tsnep_ethtool_get_ethtool_stats()
185 tsnep_stats.rx_forwarded_phy_errors = in tsnep_ethtool_get_ethtool_stats()
[all …]