Re: [PATCH v2] mv88e6xxx: Add serdes Rx statistics

From: David Miller
Date: Fri Dec 27 2019 - 19:34:30 EST


From: Nikita Yushchenko <nikita.yoush@xxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Dec 2019 08:22:38 +0300

> If packet checker is enabled in the serdes, then Rx counter registers
> start working, and no side effects have been detected.
>
> This patch enables packet checker automatically when powering serdes on,
> and exposes Rx counter registers via ethtool statistics interface.
>
> Code partially basded by older attempt by Andrew Lunn.
>
> Signed-off-by: Nikita Yushchenko <nikita.yoush@xxxxxxxxxxxxxxxxxx>
> ---
> Changes from v1:
> - added missing break statement (thanks kbuild test robot <lkp@xxxxxxxxx>)
> - renamed variable ret -> err to follow the rest of the file

Applied, thanks Nikita.