Searched refs:netstats (Results 1 – 9 of 9) sorted by relevance
650 return &vif->netstats; in mac_stats()766 vif->netstats.tx_packets++; in wilc_mac_xmit()767 vif->netstats.tx_bytes += tx_data->size; in wilc_mac_xmit()852 vif->netstats.rx_packets++; in wilc_frmw_to_host()853 vif->netstats.rx_bytes += frame_len; in wilc_frmw_to_host()
184 struct net_device_stats netstats; member
2806 struct rtnl_link_stats64 *netstats = &np->netstats; in idpf_send_get_stats_msg() local2832 netstats->rx_packets = le64_to_cpu(stats_msg.rx_unicast) + in idpf_send_get_stats_msg()2835 netstats->tx_packets = le64_to_cpu(stats_msg.tx_unicast) + in idpf_send_get_stats_msg()2838 netstats->rx_bytes = le64_to_cpu(stats_msg.rx_bytes); in idpf_send_get_stats_msg()2839 netstats->tx_bytes = le64_to_cpu(stats_msg.tx_bytes); in idpf_send_get_stats_msg()2840 netstats->rx_errors = le64_to_cpu(stats_msg.rx_errors); in idpf_send_get_stats_msg()2841 netstats->tx_errors = le64_to_cpu(stats_msg.tx_errors); in idpf_send_get_stats_msg()2842 netstats->rx_dropped = le64_to_cpu(stats_msg.rx_discards); in idpf_send_get_stats_msg()2843 netstats->tx_dropped = le64_to_cpu(stats_msg.tx_discards); in idpf_send_get_stats_msg()
166 struct rtnl_link_stats64 netstats; member
1343 *stats = np->netstats; in idpf_get_stats64()
355 u64 *netstats = (u64 *)s; in dpaa_get_stats64() local366 netstats[j] += cpustats[j]; in dpaa_get_stats64()
2370 u64 *netstats = (u64 *)stats; in dpaa2_eth_get_stats() local2378 netstats[j] += cpustats[j]; in dpaa2_eth_get_stats()
5176 const struct pcpu_sw_netstats __percpu *netstats);
11919 * @netstats: per-cpu network stats to read from in dev_fetch_sw_netstats() 11924 const struct pcpu_sw_netstats __percpu *netstats) in dev_fetch_sw_netstats() 11933 stats = per_cpu_ptr(netstats, cpu);11906 dev_fetch_sw_netstats(struct rtnl_link_stats64 * s,const struct pcpu_sw_netstats __percpu * netstats) dev_fetch_sw_netstats() argument