[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140402203830.GE3301@tuxdriver.com>
Date: Wed, 2 Apr 2014 16:38:30 -0400
From: "John W. Linville" <linville@...driver.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Scott Feldman <sfeldma@...ulusnetworks.com>,
Andy Gospodarek <andy@...yhouse.net>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Florian Fainelli <f.fainelli@...il.com>,
Neil Horman <nhorman@...driver.com>,
Thomas Graf <tgraf@...g.ch>, netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
dborkman <dborkman@...hat.com>, ogerlitz <ogerlitz@...lanox.com>,
jesse <jesse@...ira.com>, pshelar <pshelar@...ira.com>,
azhou <azhou@...ira.com>, Ben Hutchings <ben@...adent.org.uk>,
jeffrey.t.kirsher@...el.com, vyasevic <vyasevic@...hat.com>,
Cong Wang <xiyou.wangcong@...il.com>,
John Fastabend <john.r.fastabend@...el.com>,
Eric Dumazet <edumazet@...gle.com>,
Lennert Buytenhek <buytenh@...tstofly.org>,
Shrijeet Mukherjee <shm@...ulusnetworks.com>
Subject: Re: [patch net-next RFC 0/4] introduce infrastructure for support of
switch chip datapath
On Wed, Apr 02, 2014 at 10:23:18PM +0200, Jiri Pirko wrote:
> Wed, Apr 02, 2014 at 10:04:37PM CEST, stephen@...workplumber.org wrote:
> >On Wed, 2 Apr 2014 15:29:15 -0400
> >"John W. Linville" <linville@...driver.com> wrote:
> >
> >> I've seen the 'ethtool -S' example before and I guess it is valid.
> >> Still, is it worth the confusion of having a mostly useless/unique
> >> netdev just to reuse an ethtool ioctl? Maybe, I guess...?
> >
> >ethtool is actually the most worthless part of the API.
> >It can't be monitored, is ioctl based but and the statistics are device
> >dependent making them useless for monitoring applications.
>
> Has anyone actually been thinking about converting ethtool functionality
> to netlink as well? I did some time ago. Most of it should be easy (more or less)
> to do I believe.
Seems like a good idea...but only if you promise to have it primarily
accessed by a tool with a 2-letter name! :-)
--
John W. Linville Someday the world will need a hero, and you
linville@...driver.com might be all we have. Be ready.
--
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