Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Dgen_stats.c216 u64 bstats_bytes, bstats_packets; in ___gnet_stats_copy_basic() local
218 gnet_stats_read_basic(&bstats_bytes, &bstats_packets, cpu, b, running); in ___gnet_stats_copy_basic()
222 d->tc_stats.packets = bstats_packets; in ___gnet_stats_copy_basic()
231 sb.packets = bstats_packets; in ___gnet_stats_copy_basic()
233 if (res < 0 || sb.packets == bstats_packets) in ___gnet_stats_copy_basic()
236 return gnet_stats_copy(d, TCA_STATS_PKT64, &bstats_packets, in ___gnet_stats_copy_basic()
237 sizeof(bstats_packets), TCA_STATS_PAD); in ___gnet_stats_copy_basic()