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.c2469 struct rtnl_link_stats64 *netstats = &np->netstats;
2494 netstats->rx_packets = le64_to_cpu(stats_recv->rx_unicast) + in idpf_send_set_rss_lut_msg()
2497 netstats->tx_packets = le64_to_cpu(stats_recv->tx_unicast) + in idpf_send_set_rss_lut_msg()
2500 netstats->rx_bytes = le64_to_cpu(stats_recv->rx_bytes); in idpf_send_set_rss_lut_msg()
2501 netstats->tx_bytes = le64_to_cpu(stats_recv->tx_bytes); in idpf_send_set_rss_lut_msg()
2502 netstats->rx_errors = le64_to_cpu(stats_recv->rx_errors); in idpf_send_set_rss_lut_msg()
2503 netstats->tx_errors = le64_to_cpu(stats_recv->tx_errors); in idpf_send_set_rss_lut_msg()
2504 netstats->rx_dropped = le64_to_cpu(stats_recv->rx_discards); in idpf_send_set_rss_lut_msg()
2505 netstats in idpf_send_set_rss_lut_msg()
2419 struct rtnl_link_stats64 *netstats = &np->netstats; idpf_send_get_stats_msg() local
[all...]
H A Didpf.h153 * @netstats: Packet and byte stats
165 struct rtnl_link_stats64 netstats; member
H A Didpf_lib.c1362 *stats = np->netstats; in idpf_statistics_task()
/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.c2368 u64 *netstats = (u64 *)stats; in dpaa2_eth_get_stats()
2376 netstats[j] += cpustats[j]; in dpaa2_eth_get_stats()
2372 u64 *netstats = (u64 *)stats; dpaa2_eth_get_stats() local
/linux/include/linux/
H A Dnetdevice.h5244 const struct pcpu_sw_netstats __percpu *netstats);
/linux/net/core/
H A Ddev.c12243 * @netstats: per-cpu network stats to read from in alloc_netdev_mqs()
12248 const struct pcpu_sw_netstats __percpu *netstats) in alloc_netdev_mqs()
12257 stats = per_cpu_ptr(netstats, cpu); in alloc_netdev_mqs()
12040 dev_fetch_sw_netstats(struct rtnl_link_stats64 * s,const struct pcpu_sw_netstats __percpu * netstats) dev_fetch_sw_netstats() argument