From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [patch net-next RFC 0/4] introduce infrastructure for support of switch chip datapath Date: Wed, 2 Apr 2014 13:04:37 -0700 Message-ID: <20140402130437.24885fd8@nehalam.linuxnetplumber.net> References: <5332677F.2090404@cumulusnetworks.com> <5332B1FE.7080102@mojatatu.com> <53330639.8050403@cumulusnetworks.com> <20140326165934.GH2869@minipsycho.orion> <533312A3.5070600@cumulusnetworks.com> <20140326180356.GK2869@minipsycho.orion> <2D65D0C2-6BBC-4968-8400-4EB60BDF887A@cumulusnetworks.com> <533C1F91.6000704@greyhouse.net> <20140402152546.GB3596@tuxdriver.com> <20140402192915.GB3301@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Scott Feldman , Andy Gospodarek , Jiri Pirko , Roopa Prabhu , Jamal Hadi Salim , Florian Fainelli , Neil Horman , Thomas Graf , netdev , David Miller , dborkman , ogerlitz , jesse , pshelar , azhou , Ben Hutchings , jeffrey.t.kirsher@intel.com, vyasevic , Cong Wang , John Fastabend , Eric Dumazet , Lennert Buytenhek , Shrijeet Mukherjee To: "John W. Linville" Return-path: Received: from mail-pb0-f44.google.com ([209.85.160.44]:50576 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932324AbaDBUEl (ORCPT ); Wed, 2 Apr 2014 16:04:41 -0400 Received: by mail-pb0-f44.google.com with SMTP id rp16so684195pbb.31 for ; Wed, 02 Apr 2014 13:04:41 -0700 (PDT) In-Reply-To: <20140402192915.GB3301@tuxdriver.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2 Apr 2014 15:29:15 -0400 "John W. Linville" 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.