On Sun, Dec 27, 2015 at 12:07:15PM -0800, Florian Fainelli wrote: > On December 27, 2015 3:58:25 AM PST, Andrew Lunn <and...@lunn.ch> wrote: > >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. > > Reviewed-by: Florian Fainelli <f.faibe...@gmail.com> >
> This is very useful, thanks! I like that you have introduced a > separate interface rather than forcing the use of the existing get > statistics method and then overlaying PHY stats to the existing MAC > stats, this is just cleaner. I started out by extending the MAC stats, but the code was ugly dealing with the different cases and MAC and PHY statistics. This way is a lot cleaner. Andrew -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html