From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: [PATCH iproute2-next 0/8] tc: gred: JSON-ify and support per-vq config Date: Mon, 19 Nov 2018 15:03:27 -0800 Message-ID: <20181119230335.11771-1-jakub.kicinski@netronome.com> Cc: oss-drivers@netronome.com, netdev@vger.kernel.org, Jakub Kicinski To: dsahern@gmail.com, stephen@networkplumber.org Return-path: Received: from mail-qk1-f195.google.com ([209.85.222.195]:38221 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730860AbeKTJ3p (ORCPT ); Tue, 20 Nov 2018 04:29:45 -0500 Received: by mail-qk1-f195.google.com with SMTP id d19so51564102qkg.5 for ; Mon, 19 Nov 2018 15:03:47 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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