Hi! This set brings GRED support up to date with recent kernel changes. In particular the new netlink attributes for more fine-grained stats and per-virtual queue flags.
To make GRED usable in modern deployments the patch set starts with adding JSON output. Jakub Kicinski (8): tc: gred: remove unclear comment json: add %hhu helpers tc: move RED flag printing to helper tc: gred: jsonify GRED output tc: gred: separate out stats printing tc: gred: use extended stats if available tc: gred: support controlling RED flags tc: gred: allow controlling and dumping per-DP RED flags bash-completion/tc | 2 +- include/json_print.h | 1 + include/json_writer.h | 2 + lib/json_print.c | 1 + lib/json_writer.c | 11 ++ tc/q_choke.c | 3 +- tc/q_gred.c | 250 +++++++++++++++++++++++++++++++++++------- tc/q_red.c | 14 +-- tc/q_sfq.c | 3 +- tc/tc_red.c | 20 ++++ tc/tc_red.h | 1 + 11 files changed, 254 insertions(+), 54 deletions(-) -- 2.17.1