[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150914224208.GJ30501@orbit.nwl.cc>
Date: Tue, 15 Sep 2015 00:42:08 +0200
From: Phil Sutter <phil@....cc>
To: Cong Wang <cwang@...pensource.com>
Cc: netdev <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>
Subject: Re: [net-next PATCH] net: sched: document attach_default_qdiscs
On Mon, Sep 14, 2015 at 03:07:42PM -0700, Cong Wang wrote:
> On Mon, Sep 14, 2015 at 8:31 AM, Phil Sutter <phil@....cc> wrote:
> > The process of selecting an interface's default qdisc is not really
> > intuitive, at least because there are three different cases to consider.
>
> It is a static function, not an API, so I don't think it is the right
> place to document.
So static functions should never be documented? I'm playing devil's
advocate, but still:
> Maybe update default_qdisc description in Documentation/sysctl/net.txt?
I don't think this is the right place for source code documentation. The
intended audience are users, and I wouldn't expect a developer to search
in there. On the other hand, that description would indeed benefit from
a review: Apart from omitting noqueue, it neither mentions leaf qdiscs.
I'll fix this.
Thanks, Phil
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists