netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] atheros: modify statistics code
@ 2014-01-10 16:08 Sabrina Dubroca
  2014-01-10 16:08 ` [PATCH 1/3] atl1c: update " Sabrina Dubroca
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sabrina Dubroca @ 2014-01-10 16:08 UTC (permalink / raw)
  To: davem; +Cc: netdev, bhutchings, jcliburn, chris.snook, Sabrina Dubroca

Following Ben Hutchings's advice on how to fill net_stats in alx [1],
this patch modifies the other atheros ethernet drivers
similarly. Minor whitespace/empty line changes in atl1c and atl1e to
make the code completely consistent between atl1c, atl1e, and alx
(after this [2]).

I don't have this hardware, so these patches have only been
compile-tested.


Detail of the changes:
* atl1/atl1c/atl1e
  - fix collisions computation
  - rx_dropped = rx_rrd_ov
  - rx_over_errors = 0
  - rx_missed_errors = 0
  - X_packets = X_ok + X_errors

* only atl1c/atl1e
  - add rx_rxf_ov to rx_errors

Note: These patches don't depend on the alx patchset [2], but the
commit-log messages reference it.


[1] http://www.spinics.net/lists/netdev/msg264930.html
[2] http://www.spinics.net/lists/netdev/msg265564.html

Sabrina Dubroca (3):
  atl1c: update statistics code
  atl1e: update statistics code
  atl1: update statistics code

 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 31 ++++++++++++++++---------
 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 30 +++++++++++++++---------
 drivers/net/ethernet/atheros/atlx/atl1.c        | 16 ++++++-------
 3 files changed, 47 insertions(+), 30 deletions(-)

-- 
1.8.5.2

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

end of thread, other threads:[~2014-01-10 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 16:08 [PATCH 0/3] atheros: modify statistics code Sabrina Dubroca
2014-01-10 16:08 ` [PATCH 1/3] atl1c: update " Sabrina Dubroca
2014-01-10 18:19   ` Ben Hutchings
2014-01-10 16:08 ` [PATCH 2/3] atl1e: " Sabrina Dubroca
2014-01-10 18:20   ` Ben Hutchings
2014-01-10 16:08 ` [PATCH 3/3] atl1: " Sabrina Dubroca
2014-01-10 18:29   ` Ben Hutchings
2014-01-10 21:30     ` Sabrina Dubroca

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).