Skip to content

tc use JSON in all qdisc

Stephen Hemminger netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest31 patches 1 replyIn review
  2. v19 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31tc: use JSON in error handlingtc/tc.c+11 -80 replies
2/31tc: use const char in utiltc/tc_util.c tc/tc_util.h+8 -60 replies
3/31tc: convert stats print to jsontc/tc_util.c+22 -100 replies
4/31tc/cbq: use sprint_ratetc/q_cbq.c+6 -90 replies
5/31tc/util: remove unused print functionstc/tc_util.c tc/tc_util.h+18 -350 replies
6/31tc/util: add print helpers for JSONtc/tc_util.c tc/tc_util.h+59 -301 reply
7/31tc/red: use new JSON helperstc/q_red.c+3 -100 replies
8/31tc/sfq: add json supporttc/q_sfq.c+39 -260 replies
9/31tc/fq: support JSON outputtc/q_fq.c+60 -430 replies
10/31tc/mqprio: implement JSON outputtc/q_mqprio.c+72 -620 replies
11/31tc/drr: implement JSON outputtc/q_drr.c+3 -70 replies
12/31tc/rr: implement JSON outputtc/q_rr.c+11 -50 replies
13/31tc/qfq: implement JSONtc/q_qfq.c+4 -40 replies
14/31tc/sfb: implement JSON outputtc/q_sfb.c+34 -220 replies
15/31tc/multiq: implement JSON outputtc/q_multiq.c+2 -10 replies
16/31tc/util: allow signed value for timetc/tc_util.c tc/tc_util.h+4 -40 replies
17/31tc/codel: implement JSON outputtc/q_codel.c+17 -180 replies
18/31tc/fifo: implement JSON outputtc/q_fifo.c+4 -50 replies
19/31tc/tbf: implement JSON output formattc/q_tbf.c+26 -220 replies
20/31tc/choke: implement JSON outputtc/q_choke.c+16 -90 replies
21/31tc/hhf: implement JSON outputtc/q_hhf.c+12 -120 replies
22/31tc/pie: implement JSON outputtc/q_pie.c+18 -150 replies
23/31tc/gred: implement JSON outputtc/q_gred.c+38 -350 replies
24/31tc/netem: implement JSON outputtc/q_netem.c+46 -480 replies
25/31tc/dsmark: implement JSON outputtc/q_dsmark.c+18 -90 replies
26/31tc/cbs: convert to JSON outputtc/q_cbs.c+5 -50 replies
27/31tc/cbq: convert to JSON outputtc/q_cbq.c+40 -330 replies
28/31tc/atm: convert to JSON outputtc/q_atm.c+23 -150 replies
29/31tc/hfsc: convert to JSON outputtc/q_hfsc.c+13 -130 replies
30/31tc/htb: implement JSON outputtc/q_htb.c+30 -230 replies
31/31tc/fq_codel: use JSON helperstc/q_fq_codel.c+9 -290 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 iproute2-next 00/31] tc use JSON in all qdisc

From: Stephen Hemminger <[email protected]>

This patch set adds some utility routines and then converts all the remaining TC queue discipline managers to support JSON output.

v2
- consolidate the utility patches
- do all the remaining qdisc's

Stephen Hemminger (31):
tc: use JSON in error handling
tc: use const char in util
tc: convert stats print to json
tc/cbq: use sprint_rate
tc/util: remove unused print functions
tc/util: add print helpers for JSON
tc/red: use new JSON helpers
tc/sfq: add json support
tc/fq: support JSON output
tc/mqprio: implement JSON output
tc/drr: implement JSON output
tc/rr: implement JSON output
tc/qfq: implement JSON
tc/sfb: implement JSON output
tc/multiq: implement JSON output
tc/util: allow signed value for time
tc/codel: implement JSON output
tc/fifo: implement JSON output
tc/tbf: implement JSON output format
tc/choke: implement JSON output
tc/hhf: implement JSON output
tc/pie: implement JSON output
tc/gred: implement JSON output
tc/netem: implement JSON output
tc/dsmark: implement JSON output
tc/cbs: convert to JSON output
tc/cbq: convert to JSON output
tc/atm: convert to JSON output
tc/hfsc: convert to JSON output
tc/htb: implement JSON output
tc/fq_codel: use JSON helpers

 tc/q_atm.c      |  38 +++++++------
 tc/q_cbq.c      |  80 ++++++++++++++-------------
 tc/q_cbs.c      |  10 ++--
 tc/q_choke.c    |  25 +++++----
 tc/q_codel.c    |  35 ++++++------
 tc/q_drr.c      |  10 ++--
 tc/q_dsmark.c   |  27 ++++++----
 tc/q_fifo.c     |   9 ++--
 tc/q_fq.c       | 103 ++++++++++++++++++++---------------
 tc/q_fq_codel.c |  38 ++++---------
 tc/q_gred.c     |  73 +++++++++++++------------
 tc/q_hfsc.c     |  26 ++++-----
 tc/q_hhf.c      |  24 ++++-----
 tc/q_htb.c      |  53 ++++++++++--------
 tc/q_mqprio.c   | 134 ++++++++++++++++++++++++---------------------
 tc/q_multiq.c   |   3 +-
 tc/q_netem.c    |  94 ++++++++++++++++----------------
 tc/q_pie.c      |  33 ++++++------
 tc/q_qfq.c      |   8 +--
 tc/q_red.c      |  13 ++---
 tc/q_rr.c       |  16 ++++--
 tc/q_sfb.c      |  56 +++++++++++--------
 tc/q_sfq.c      |  65 +++++++++++++---------
 tc/q_tbf.c      |  48 +++++++++--------
 tc/tc.c         |  19 ++++---
 tc/tc_util.c    | 140 ++++++++++++++++++++++++++++--------------------
 tc/tc_util.h    |  18 ++++---
 27 files changed, 648 insertions(+), 550 deletions(-)
Signature · 1 line
2.18.0