Home
last modified time | relevance | path

Searched refs:dstats (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/
H A Dvrf.c126 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local
129 dstats->rx_packets++; in vrf_rx_stats()
130 dstats->rx_bytes += len; in vrf_rx_stats()
150 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()
153 tbytes = dstats->tx_bytes; in vrf_get_stats64()
154 tpkts = dstats->tx_packets; in vrf_get_stats64()
155 tdrops = dstats->tx_drops; in vrf_get_stats64()
156 rbytes = dstats->rx_bytes; in vrf_get_stats64()
606 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_xmit() local
609 dstats->tx_packets++; in vrf_xmit()
[all …]
/openbmc/linux/include/linux/
H A Dnetdevice.h2346 struct pcpu_dstats __percpu *dstats; member
/openbmc/linux/net/core/
H A Ddev.c10085 v = dev->dstats = netdev_alloc_pcpu_stats(struct pcpu_dstats); in netdev_do_alloc_pcpu_stats()
10106 free_percpu(dev->dstats); in netdev_do_free_pcpu_stats()