Lines Matching refs:stats
44 struct red_stats stats; member
228 q->stats.prob_drop++; in gred_enqueue()
232 q->stats.prob_mark++; in gred_enqueue()
239 q->stats.forced_drop++; in gred_enqueue()
242 q->stats.forced_mark++; in gred_enqueue()
251 q->stats.pdrop++; in gred_enqueue()
369 hw_stats->stats.xstats[i] = &table->tab[i]->stats; in gred_offload_dump_stats()
378 table->tab[i]->packetsin += hw_stats->stats.bstats[i].packets; in gred_offload_dump_stats()
379 table->tab[i]->bytesin += hw_stats->stats.bstats[i].bytes; in gred_offload_dump_stats()
380 table->tab[i]->backlog += hw_stats->stats.qstats[i].backlog; in gred_offload_dump_stats()
383 hw_stats->stats.bstats[i].bytes, in gred_offload_dump_stats()
384 hw_stats->stats.bstats[i].packets); in gred_offload_dump_stats()
385 sch->qstats.qlen += hw_stats->stats.qstats[i].qlen; in gred_offload_dump_stats()
386 sch->qstats.backlog += hw_stats->stats.qstats[i].backlog; in gred_offload_dump_stats()
387 sch->qstats.drops += hw_stats->stats.qstats[i].drops; in gred_offload_dump_stats()
388 sch->qstats.requeues += hw_stats->stats.qstats[i].requeues; in gred_offload_dump_stats()
389 sch->qstats.overlimits += hw_stats->stats.qstats[i].overlimits; in gred_offload_dump_stats()
820 opt.other = q->stats.other; in gred_dump()
821 opt.early = q->stats.prob_drop; in gred_dump()
822 opt.forced = q->stats.forced_drop; in gred_dump()
823 opt.pdrop = q->stats.pdrop; in gred_dump()
873 q->stats.prob_drop)) in gred_dump()
876 q->stats.prob_mark)) in gred_dump()
879 q->stats.forced_drop)) in gred_dump()
882 q->stats.forced_mark)) in gred_dump()
884 if (nla_put_u32(skb, TCA_GRED_VQ_STAT_PDROP, q->stats.pdrop)) in gred_dump()
886 if (nla_put_u32(skb, TCA_GRED_VQ_STAT_OTHER, q->stats.other)) in gred_dump()