From: Geert Uytterhoeven <geert@linux-m68k.org>
To: David Miller <davem@davemloft.net>
Cc: Phil Sutter <phil@nwl.cc>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Eric Dumazet <eric.dumazet@gmail.com>,
brouer@redhat.com
Subject: Re: [net-next PATCH 0/4] fixup IFF_NO_QUEUE conversion
Date: Tue, 1 Sep 2015 09:52:41 +0200 [thread overview]
Message-ID: <CAMuHMdWEoCrFuVmFUUWVv8dhV_WHtq9mzx_emKBUYwTYUhDniw@mail.gmail.com> (raw)
In-Reply-To: <20150827.171510.531165980750627399.davem@davemloft.net>
On Fri, Aug 28, 2015 at 2:15 AM, David Miller <davem@davemloft.net> wrote:
>> This series serves two purposes:
>>
>> On one hand it fixes a quite embarrassing bug around the warning I added for
>> drivers still setting tx_queue_len = 0 to achieve noqueue operation. It turned
>> out to be quite useless as due to using alloc_netdev(), many in-kernel drivers
>> fell into the trap by accident, as well. Instead this place serves pretty well
>> as a sanitizing point to set IFF_NO_QUEUE for drivers not initializing
>> tx_queue_len, which in turn allows to drop all special treatment of the latter
>> being zero since that can not happen anymore without IFF_NO_QUEUE being set.
>>
>> On the other hand, it provides a better solution for Eric Dumazet's concern
>> regarding how to assign noqueue to an interface which does not default to it
>> already. In order to make this possible, noqueue is being registered so users
>> can 'tc qd add dev eth0 root noqueue'. In addition, it resolves the ugly
>> situation of 'tc qd show' not showing noqueue. Finally, the former changes
>> allow for some code cleanup.
>
> Seems reasonable, series applied, thanks Phil.
Thanks, the warning is gone.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
prev parent reply other threads:[~2015-09-01 7:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 19:21 [net-next PATCH 0/4] fixup IFF_NO_QUEUE conversion Phil Sutter
2015-08-27 19:21 ` [net-next PATCH 1/4] net: fix IFF_NO_QUEUE for drivers using alloc_netdev Phil Sutter
2015-08-27 19:21 ` [net-next PATCH 2/4] net: sched: ignore tx_queue_len when assigning default qdisc Phil Sutter
2015-08-27 19:21 ` [net-next PATCH 3/4] net: sched: register noqueue qdisc Phil Sutter
2015-08-29 20:04 ` Sergei Shtylyov
2015-08-27 19:21 ` [net-next PATCH 4/4] net: sched: simplify attach_one_default_qdisc() Phil Sutter
2015-08-28 0:15 ` [net-next PATCH 0/4] fixup IFF_NO_QUEUE conversion David Miller
2015-09-01 7:52 ` Geert Uytterhoeven [this message]
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=CAMuHMdWEoCrFuVmFUUWVv8dhV_WHtq9mzx_emKBUYwTYUhDniw@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=brouer@redhat.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=phil@nwl.cc \
/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;
as well as URLs for NNTP newsgroup(s).