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
758 u64_stats_update_begin(&stats->syncp); in tile_net_poll_aux()
763 stats->rx_dropped++; in tile_net_poll_aux()
765 stats->rx_errors++; in tile_net_poll_aux()
793 stats->rx_packets++; in tile_net_poll_aux()
794 stats->rx_bytes += len; in tile_net_poll_aux()
797 u64_stats_update_end(&stats->syncp); in tile_net_poll_aux()
1014 u64_stats_init(&info->stats.syncp); in tile_net_register()
1678 struct tile_net_stats_t *stats = &info->stats; in tile_net_tx_tso() local
1830 u64_stats_update_begin(&stats->syncp); in tile_net_tx_tso()
1831 stats->tx_packets += num_segs; in tile_net_tx_tso()
1832 stats->tx_bytes += (num_segs * sh_len) + d_len; in tile_net_tx_tso()
1833 u64_stats_update_end(&stats->syncp); in tile_net_tx_tso()
1850 struct tile_net_stats_t *stats = &info->stats; in tile_net_tx() local
2014 u64_stats_update_begin(&stats->syncp); in tile_net_tx()
2015 stats->tx_packets++; in tile_net_tx()
2016 stats->tx_bytes += ((len >= ETH_ZLEN) ? len : ETH_ZLEN); in tile_net_tx()
2017 u64_stats_update_end(&stats->syncp); in tile_net_tx()
2055 struct rtnl_link_stats64 *stats) in tile_net_get_stats64() argument
2071 cpu_stats = &priv->cpu[i]->stats; in tile_net_get_stats64()
2091 stats->rx_packets = rx_packets; in tile_net_get_stats64()
2092 stats->tx_packets = tx_packets; in tile_net_get_stats64()
2093 stats->rx_bytes = rx_bytes; in tile_net_get_stats64()
2094 stats->tx_bytes = tx_bytes; in tile_net_get_stats64()
2095 stats->rx_errors = rx_errors; in tile_net_get_stats64()
2096 stats->rx_dropped = rx_dropped; in tile_net_get_stats64()
2098 return stats; in tile_net_get_stats64()