netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 net-next 0/3] Ethtool support for phy stats
@ 2015-12-29 19:51 Andrew Lunn
  2015-12-29 19:51 ` [PATCHv3 net-next 1/3] ethtool: Add phy statistics Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Lunn @ 2015-12-29 19:51 UTC (permalink / raw)
  To: David Miller, Florian Fainelli; +Cc: netdev, Andrew Lunn

This patchset add ethtool support for reading statistics from the PHY.
The Marvell and Micrel Phys are then extended to report receiver
packet errors and idle errors.

v2:
  Fix linking when phylib is not enabled.
v3:
  Inline helpers into ethtool.c, so fixing when phylib is a module.
  
Andrew Lunn (3):
  ethtool: Add phy statistics
  phy: marvell: Add ethtool statistics counters
  phy: micrel: Add ethtool statistics counters

 drivers/net/phy/marvell.c    | 135 +++++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/micrel.c     |  96 ++++++++++++++++++++++++++++++
 include/linux/phy.h          |   6 ++
 include/uapi/linux/ethtool.h |   3 +
 net/core/ethtool.c           |  81 +++++++++++++++++++++++++-
 5 files changed, 320 insertions(+), 1 deletion(-)

-- 
2.6.4

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

end of thread, other threads:[~2015-12-31  5:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29 19:51 [PATCHv3 net-next 0/3] Ethtool support for phy stats Andrew Lunn
2015-12-29 19:51 ` [PATCHv3 net-next 1/3] ethtool: Add phy statistics Andrew Lunn
2015-12-29 20:12   ` David Miller
2015-12-29 19:51 ` [PATCHv3 net-next 2/3] phy: marvell: Add ethtool statistics counters Andrew Lunn
2015-12-30  4:24   ` Shaohui Xie
2015-12-30 15:12     ` Andrew Lunn
2015-12-31  5:24       ` Shaohui Xie
2015-12-29 19:51 ` [PATCHv3 net-next 3/3] phy: micrel: " Andrew Lunn

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