On Wed, 2012-03-21 at 12:37 +0530, Sujith Manoharan wrote:
Ben Greear wrote:
quoted
I'd like to gather at least most stats always, so ethtool can work regardless
of debugfs. But, that can be follow on patches in my opinion. If it turns
out that we need another config option for this, then that is fine too.
It would be good to have an option to compile this out. The information is
available via the debugfs interface, so this is basically duplicating things.
On APs using OpenWRT, debugfs is enabled by default, so we can just read
the debugfs files.
ethtool is the normal way to expose extended network stats, so the
debugfs interface should be dropped in favour of this.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.