From b914fe5f1c5d7beef742b565c98888c5e34efc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Wed, 12 Sep 2018 00:32:16 +0200 Subject: [PATCH] q_cake: Add printing of no-split-gso option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the GSO splitting was turned into dual split-gso/no-split-gso options, the printing of the latter was left out. Add that, so output is consistent with the options passed. Signed-off-by: Toke Høiland-Jørgensen Signed-off-by: Stephen Hemminger --- tc/q_cake.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tc/q_cake.c b/tc/q_cake.c index 50de46a7..077bf84f 100644 --- a/tc/q_cake.c +++ b/tc/q_cake.c @@ -524,6 +524,8 @@ static int cake_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) if (split_gso) print_string(PRINT_FP, NULL, "split-gso ", NULL); + else + print_string(PRINT_FP, NULL, "no-split-gso ", NULL); print_bool(PRINT_JSON, "split_gso", NULL, split_gso); if (interval)