]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Add phy statistics
authorAndrew Lunn <andrew@lunn.ch>
Wed, 30 Dec 2015 15:28:25 +0000 (16:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Dec 2015 05:53:10 +0000 (00:53 -0500)
commit4da5eb425533ae2b3549d7815c93448db9472486
tree081f2d64b4eef8094fef2b8e8858364f3c74155f
parenta973c398572035c96759dc5c4841b1a3bd69ce08
ethtool: Add phy statistics

Ethernet PHYs can maintain statistics, for example errors while idle
and receive errors. Add an ethtool mechanism to retrieve these
statistics, using the same model as MAC statistics.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h
include/uapi/linux/ethtool.h
net/core/ethtool.c