linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reporting firmware stats to ethtool
@ 2014-08-07 21:57 Ben Greear
  2014-08-08  9:06 ` Kalle Valo
  0 siblings, 1 reply; 12+ messages in thread
From: Ben Greear @ 2014-08-07 21:57 UTC (permalink / raw)
  To: ath10k, linux-wireless@vger.kernel.org

I'm working on a patch to report the stats seen in debugfs/...ath10k/fw_stats
as ethtool stats, somewhat similar to how ath9k does it.

I notice that my user-space tool is reporting huge numbers because
the stats are reset to zero when firmware restarts, and so my tool
thinks the stats wrapped.

I can fix my tool easily enough, but I first wanted to see if
anyone had strong feelings about keeping the stats from resetting
to zero by storing history and calculating diffs in the driver.

I think my preference is to punt this to user-space, but if
someone feels otherwise, please let me know sooner than later.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-08-09 15:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-07 21:57 Reporting firmware stats to ethtool Ben Greear
2014-08-08  9:06 ` Kalle Valo
2014-08-08 15:42   ` Ben Greear
2014-08-08 15:55     ` Dave Taht
2014-08-08 16:11       ` Ben Greear
2014-08-08 16:45         ` Arend van Spriel
2014-08-08 17:24           ` Ben Greear
2014-08-09  6:32             ` Kalle Valo
2014-08-09  6:30           ` Kalle Valo
2014-08-09  7:30             ` Arend van Spriel
2014-08-09 15:56               ` Kalle Valo
2014-08-09  6:27     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).