[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394670528.20857.10.camel@deadeye.wl.decadent.org.uk>
Date: Thu, 13 Mar 2014 00:28:48 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: Joe Perches <joe@...ches.com>
Cc: Vince Bridgers <vbridgers2013@...il.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"pawel.moll@....com" <pawel.moll@....com>,
"mark.rutland@....com" <mark.rutland@....com>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Rob Landley <rob@...dley.net>
Subject: Re: [PATCH net-next v3 5/9] Altera TSE: Add Miscellaneous Files for
Altera Ethernet Driver
On Wed, 2014-03-12 at 15:26 -0700, Joe Perches wrote:
> On Wed, 2014-03-12 at 21:14 +0000, Ben Hutchings wrote:
> > These look like the statistic names specified in IEEE 802.3. I would
> > support a general move to using standard names for MAC stats in Ethernet
> > drivers, because they are quite clearly defined and widely implemented
> > in hardware. However, that is not the current practice in most Linux
> > drivers.
>
> Hey Ben.
>
> Maybe something like this would be a start?
>
> Change the actual #defines/strings to taste.
>
> Maybe this shouldn't be in uapi or maybe in if_ether.h
[...]
This is pointless without also nailing down the definition of each
statistic. That could be done with reference to standards/RFCs, of
course.
Ben.
--
Ben Hutchings
Experience is directly proportional to the value of equipment destroyed.
- Carolyn Scheppner
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists