From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v2 iproute2-next 00/31] tc use JSON in all qdisc Date: Tue, 10 Jul 2018 14:05:27 -0700 Message-ID: <20180710210558.20278-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:46555 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732200AbeGJVMF (ORCPT ); Tue, 10 Jul 2018 17:12:05 -0400 Received: by mail-pf0-f194.google.com with SMTP id l123-v6so16903543pfl.13 for ; Tue, 10 Jul 2018 14:11:12 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger 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(-) -- 2.18.0