Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bill Fink <billfink@...>
Cc: Alan Cox <alan@...>, James Cammarata <jimi@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Linux Netdev List <netdev@...>
Date: Sunday, June 1, 2008 - 6:29 pm

Bill Fink wrote:

Yes, but in a form you can more easily manipulate.

[...]
[...]
[...]

Ah, I see, I didn't realise some drivers were abusing ethtool stats in
this way.  But for the most part the differences will show up as zeroes.

If there's really a need for ethtool stats that aren't counters,
maybe the ethtool API should include flags to indicate which they are.


No-one's stopping you from adding these options to ethtool.  You could
have it save statistic sets in, say, /var/run/ethtool.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] net: add ability to clear stats via ethtool - e1..., Ben Hutchings, (Sun Jun 1, 6:29 pm)
Re: [PATCH] net: add ability to clear stats via ethtool - e1..., Stephen Hemminger, (Fri May 30, 10:41 pm)