From: Phil Sutter <phil@nwl.cc>
To: Jiri Kosina <jikos@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>,
Stephen Hemminger <stephen@networkplumber.org>,
Eric Dumazet <eric.dumazet@gmail.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
Cong Wang <xiyou.wangcong@gmail.com>,
Daniel Borkmann <daniel@iogearbox.net>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] iproute2: add support for invisible qdisc dumping
Date: Mon, 27 Feb 2017 12:52:18 +0100 [thread overview]
Message-ID: <20170227115218.GO6099@orbyte.nwl.cc> (raw)
In-Reply-To: <alpine.LSU.2.20.1702252228010.24579@cbobk.fhfr.pm>
On Sat, Feb 25, 2017 at 10:29:17PM +0100, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@suse.cz>
>
> Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking
> kernel to perform 'full qdisc dump', as for historical reasons some of the
> default qdiscs are being hidden by the kernel.
>
> The command syntax is being extended by voluntary 'invisible' argument to
> 'tc qdisc show'.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> ---
> tc/tc_qdisc.c | 25 +++++++++++++++++++++++--
> 1 file changed, 23 insertions(+), 2 deletions(-)
Would you mind adding a description of the new keyword to tc man page as
well?
> diff --git a/tc/tc_qdisc.c b/tc/tc_qdisc.c
> index 3a3701c2..29da9269 100644
> --- a/tc/tc_qdisc.c
> +++ b/tc/tc_qdisc.c
> @@ -34,7 +34,7 @@ static int usage(void)
> fprintf(stderr, " [ stab [ help | STAB_OPTIONS] ]\n");
> fprintf(stderr, " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n");
> fprintf(stderr, "\n");
> - fprintf(stderr, " tc qdisc show [ dev STRING ] [ ingress | clsact ]\n");
> + fprintf(stderr, " tc qdisc show [ dev STRING ] [ ingress | clsact | invisible ]\n");
Doesn't look like these are mutually exclusive. Therefore I would
suggest fixing the syntax to:
| + fprintf(stderr, " tc qdisc show [ dev STRING ] [ ingress | clsact ] [ invisible ]\n");
Cheers, Phil
next prev parent reply other threads:[~2017-02-27 12:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-25 21:29 [PATCH 2/2] iproute2: add support for invisible qdisc dumping Jiri Kosina
2017-02-27 11:52 ` Phil Sutter [this message]
2017-03-08 10:40 ` Jiri Kosina
2017-03-01 18:05 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170227115218.GO6099@orbyte.nwl.cc \
--to=phil@nwl.cc \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=jhs@mojatatu.com \
--cc=jikos@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.