]> 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)
commit8cedc57d68e80d403fedbbaa31345d3f7684a440
tree081f2d64b4eef8094fef2b8e8858364f3c74155f
parent992ff6e13fbed873c0f5f7b27b732ace8f918ecd
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