On 7/9/18 3:48 PM, Stephen Hemminger wrote: > From: Stephen Hemminger <sthem...@microsoft.com> > > Update core of TC command and library to do more JSON. > Most of this patch set is about getting tc utility functions > to be more friendly to the json_print infrastructure. > > Stephen Hemminger (9): > 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 print_rate > tc/util: remove unused print_size > tc/util: remove unused print_time > tc/util: add print helpers for JSON > tc/sfq: add json support > > tc/q_cbq.c | 15 ++++----- > tc/q_sfq.c | 65 +++++++++++++++++++++--------------- > tc/tc.c | 19 ++++++----- > tc/tc_util.c | 94 +++++++++++++++++++++++++++------------------------- > tc/tc_util.h | 11 +++--- > 5 files changed, 109 insertions(+), 95 deletions(-) >
I'd prefer some tc folks to take a look at the json output and verify everything is good. Jamal, Jiri, Jakub, Cong, others? There is a second set with 30 patches as well.