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

From: Andrew Lunn
Date: Wed Dec 25 2019 - 15:46:53 EST


On Wed, Dec 25, 2019 at 08:22:38AM +0300, Nikita Yushchenko wrote:
> 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>)

Opps. Sorry i missed that.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew