Re: [PATCHv3 net-next 1/3] ethtool: Add phy statistics

2015-12-29 Thread David Miller
From: Andrew Lunn Date: Tue, 29 Dec 2015 20:51:22 +0100 > @@ -191,6 +191,23 @@ static int ethtool_set_features(struct net_device *dev, > void __user *useraddr) > return ret; > } > > +int phy_get_sset_count(struct phy_device *phydev) > +{ This needs to be static. -- To unsubscribe from

[PATCHv3 net-next 1/3] ethtool: Add phy statistics

2015-12-29 Thread Andrew Lunn
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 --- include/linux/phy.h | 6 include/uapi/linux/ethtool.h | 3 ++ net