Lines Matching refs:stats

174 	struct tile_net_stats_t stats;  member
686 struct tile_net_stats_t *stats = &info->stats; in tile_net_poll_aux() local
755 u64_stats_update_begin(&stats->syncp); in tile_net_poll_aux()
760 stats->rx_dropped++; in tile_net_poll_aux()
762 stats->rx_errors++; in tile_net_poll_aux()
790 stats->rx_packets++; in tile_net_poll_aux()
791 stats->rx_bytes += len; in tile_net_poll_aux()
794 u64_stats_update_end(&stats->syncp); in tile_net_poll_aux()
1011 u64_stats_init(&info->stats.syncp); in tile_net_register()
1675 struct tile_net_stats_t *stats = &info->stats; in tile_net_tx_tso() local
1827 u64_stats_update_begin(&stats->syncp); in tile_net_tx_tso()
1828 stats->tx_packets += num_segs; in tile_net_tx_tso()
1829 stats->tx_bytes += (num_segs * sh_len) + d_len; in tile_net_tx_tso()
1830 u64_stats_update_end(&stats->syncp); in tile_net_tx_tso()
1847 struct tile_net_stats_t *stats = &info->stats; in tile_net_tx() local
2011 u64_stats_update_begin(&stats->syncp); in tile_net_tx()
2012 stats->tx_packets++; in tile_net_tx()
2013 stats->tx_bytes += ((len >= ETH_ZLEN) ? len : ETH_ZLEN); in tile_net_tx()
2014 u64_stats_update_end(&stats->syncp); in tile_net_tx()
2052 struct rtnl_link_stats64 *stats) in tile_net_get_stats64() argument
2068 cpu_stats = &priv->cpu[i]->stats; in tile_net_get_stats64()
2088 stats->rx_packets = rx_packets; in tile_net_get_stats64()
2089 stats->tx_packets = tx_packets; in tile_net_get_stats64()
2090 stats->rx_bytes = rx_bytes; in tile_net_get_stats64()
2091 stats->tx_bytes = tx_bytes; in tile_net_get_stats64()
2092 stats->rx_errors = rx_errors; in tile_net_get_stats64()
2093 stats->rx_dropped = rx_dropped; in tile_net_get_stats64()
2095 return stats; in tile_net_get_stats64()