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.c2419 struct rtnl_link_stats64 *netstats = &np->netstats; in idpf_send_get_stats_msg() local
2444 netstats->rx_packets = le64_to_cpu(stats_recv->rx_unicast) + in idpf_send_get_stats_msg()
2447 netstats->tx_packets = le64_to_cpu(stats_recv->tx_unicast) + in idpf_send_get_stats_msg()
2450 netstats->rx_bytes = le64_to_cpu(stats_recv->rx_bytes); in idpf_send_get_stats_msg()
2451 netstats->tx_bytes = le64_to_cpu(stats_recv->tx_bytes); in idpf_send_get_stats_msg()
2452 netstats->rx_errors = le64_to_cpu(stats_recv->rx_errors); in idpf_send_get_stats_msg()
2453 netstats->tx_errors = le64_to_cpu(stats_recv->tx_errors); in idpf_send_get_stats_msg()
2454 netstats->rx_dropped = le64_to_cpu(stats_recv->rx_discards); in idpf_send_get_stats_msg()
2455 netstats->tx_dropped = le64_to_cpu(stats_recv->tx_discards); in idpf_send_get_stats_msg()
H A Didpf.h165 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.c354 u64 *netstats = (u64 *)s; in dpaa_get_stats64() local
365 netstats[j] += cpustats[j]; in dpaa_get_stats64()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c2372 u64 *netstats = (u64 *)stats; in dpaa2_eth_get_stats() local
2380 netstats[j] += cpustats[j]; in dpaa2_eth_get_stats()
/linux/include/linux/
H A Dnetdevice.h5215 const struct pcpu_sw_netstats __percpu *netstats);
/linux/net/core/
H A Ddev.c11994 const struct pcpu_sw_netstats __percpu *netstats) in dev_fetch_sw_netstats() argument
12003 stats = per_cpu_ptr(netstats, cpu); in dev_fetch_sw_netstats()