Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c650 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()
H A Dnetdev.h184 struct net_device_stats netstats; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c2806 struct rtnl_link_stats64 *netstats = &np->netstats; in idpf_send_get_stats_msg() local
2832 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()
H A Didpf.h166 struct rtnl_link_stats64 netstats; member
H A Didpf_lib.c1343 *stats = np->netstats; in idpf_get_stats64()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c355 u64 *netstats = (u64 *)s; in dpaa_get_stats64() local
366 netstats[j] += cpustats[j]; in dpaa_get_stats64()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c2370 u64 *netstats = (u64 *)stats; in dpaa2_eth_get_stats() local
2378 netstats[j] += cpustats[j]; in dpaa2_eth_get_stats()
/linux/include/linux/
H A Dnetdevice.h5176 const struct pcpu_sw_netstats __percpu *netstats);
/linux/net/core/
H A Ddev.c11919 * @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