Lines Matching refs:pcpu_stats
507 struct netvsc_vf_pcpu_stats *pcpu_stats in netvsc_vf_xmit() local
510 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_xmit()
511 pcpu_stats->tx_packets++; in netvsc_vf_xmit()
512 pcpu_stats->tx_bytes += len; in netvsc_vf_xmit()
513 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_xmit()
1486 }, pcpu_stats[] = { variable
1515 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
1593 for (j = 0; j < ARRAY_SIZE(pcpu_stats); j++) in netvsc_get_ethtool_stats()
1595 + pcpu_stats[j].offset); in netvsc_get_ethtool_stats()
1627 for (i = 0; i < ARRAY_SIZE(pcpu_stats); i++) in netvsc_get_strings()
1628 ethtool_sprintf(&p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
2184 struct netvsc_vf_pcpu_stats *pcpu_stats in netvsc_vf_handle_frame() local
2195 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_handle_frame()
2196 pcpu_stats->rx_packets++; in netvsc_vf_handle_frame()
2197 pcpu_stats->rx_bytes += skb->len; in netvsc_vf_handle_frame()
2198 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_handle_frame()