Skip to content

More gnet_stats conversions

Thomas Graf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16PKT_SCHED: Requeues statisticsnet/sched/sch_atm.c net/sched/sch_cbq.c net/sched/sch_dsmark.c +11 more+24 -50 replies
2/16PKT_SCHED: Max TLV types cleanupinclude/linux/pkt_sched.h+27 -70 replies
3/16PKT_SCHED: Add dump_stats qdisc opinclude/net/pkt_sched.h net/sched/sch_api.c+4 -00 replies
4/16CBQ: use dump_statsnet/sched/sch_cbq.c+10 -70 replies
5/16RED: use dump_statsnet/sched/sch_red.c+8 -130 replies
6/16PKT_SCHED: Add dump_stats class opinclude/net/pkt_sched.h net/sched/sch_api.c+15 -10 replies
7/16CBQ: Use gnet_stats for class statisticsnet/sched/sch_cbq.c+9 -70 replies
8/16CBQ: Use dump_stats for class statistics dumpingnet/sched/sch_cbq.c+24 -240 replies
9/16CBQ: Use generic rate estimatornet/sched/sch_cbq.c+6 -80 replies
10/16HTB: Use gnet_stats for class statisticsnet/sched/sch_htb.c+8 -60 replies
11/16HTB: Use dump_stats for class statistics dumpingnet/sched/sch_htb.c+26 -140 replies
12/16HTB: Remove unneeded rate estimator bitsnet/sched/sch_htb.c+0 -40 replies
13/16HFSC: Use gnet_stats for class statisticsnet/sched/sch_hfsc.c+7 -50 replies
14/16HFSC: Use generic rate estimatornet/sched/sch_hfsc.c+6 -80 replies
15/16HFSC: Use dump_stats for class statistics dumpingnet/sched/sch_hfsc.c+26 -350 replies
16/16ATM: Use gnet_stats for class statistics and dump themnet/sched/sch_atm.c+22 -50 replies
16/16ATM: Use gnet_stats for class statistics and dump themnet/sched/sch_atm.c+21 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/16] More gnet_stats conversions

Dave,

This patchset contains requeues statistics, TLV type max cleanups, and more conversions to the new generic statistic interface.

It converts all qdiscs to dump their xstats via gnet_stats_copy_app and converts all class statistics in classful qdiscs to the new API.

The following patches must be applied as a group to not break
anything: 7-9, 10-12, 13-15. All other patches should keep the tree in a working state. Like the previous qdisc changes, full backward compatibility is given and all existing applications will continue to work.

All patches except patch 16 have been tested for 1.5 weeks. The ATM patch was modified today and only compile tested.

I will provide iproute2 patches for this soon.

Cheers.