From: David Miller <davem@davemloft.net>
To: jikos@kernel.org
Cc: stephen@networkplumber.org, eric.dumazet@gmail.com,
jhs@mojatatu.com, phil@nwl.cc, xiyou.wangcong@gmail.com,
daniel@iogearbox.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump
Date: Mon, 06 Mar 2017 10:35:55 -0800 (PST) [thread overview]
Message-ID: <20170306.103555.1351381782582641603.davem@davemloft.net> (raw)
In-Reply-To: <alpine.LSU.2.20.1703061158500.31814@cbobk.fhfr.pm>
From: Jiri Kosina <jikos@kernel.org>
Date: Mon, 6 Mar 2017 12:03:38 +0100 (CET)
> Ah, right you are, thanks. The complete fix is not super trivial, as it
> needs some more surgery to tc_dump_qdisc_root(), tc_dump_tclass_root() and
> qdisc_match_from_root() (see 69012ae42 for some details).
>
> There are two options:
>
> - this gets fixed in two phases, in first everything *but* noop qdisc gets
> dumped (in the "give me everything" dump) and later we finalize it by
> teaching the above functions about noop_qdisc as well
>
> - I extend this patchset to handle noop qdisc from the very beginning;
> I am unlikely to find time for this during coming weeks though. But OTOH
> this whole thing is very low priority anyway
>
> What do you think?
I'm not too hot on this whole idea because the only way you can emit
the noop_qdisc is to "dup" it by allocating a new qdisc so that you
can link it in. This has two downsides:
1) Extra overhead and memory usage
2) All of the simple checks against &noop_qdisc might not be
so simply any more.
next prev parent reply other threads:[~2017-03-06 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-25 21:29 Jiri Kosina
2017-03-01 18:21 ` David Miller
2017-03-06 11:03 ` Jiri Kosina
2017-03-06 18:35 ` David Miller [this message]
2017-03-07 9:59 ` Jiri Kosina
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=20170306.103555.1351381782582641603.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=daniel@iogearbox.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=phil@nwl.cc \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®