Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1593572
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump |
| Date | 2017-03-06 19:40 +0100 |
| Message-ID | <ti5I6-3Hy-5@gated-at.bofh.it> (permalink) |
| References | <teS4F-5je-11@gated-at.bofh.it> <tgkUV-1b6-3@gated-at.bofh.it> <thYZY-7uY-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump David Miller <davem@davemloft.net> - 2017-03-01 23:30 +0100
Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump Jiri Kosina <jikos@kernel.org> - 2017-03-06 12:30 +0100
Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump David Miller <davem@davemloft.net> - 2017-03-06 19:40 +0100
Re: [PATCH 1/2] net: sched: make default fifo qdiscs appear in the dump Jiri Kosina <jikos@kernel.org> - 2017-03-07 11:20 +0100
csiph-web