Re: [PATCH net-next 3/3] net: mvpp2: print rx error with rate-limit

From: David Miller
Date: Thu May 17 2018 - 15:22:54 EST


From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Date: Thu, 17 May 2018 10:34:27 +0200

> From: Yan Markman <ymarkman@xxxxxxxxxxx>
>
> Prevent flood of RX error prints during heavy traffic with weak signal
> in link by checking net_ratelimit() before using netdev_err().
>
> Signed-off-by: Yan Markman <ymarkman@xxxxxxxxxxx>
> [Antoine: small rework, commit message]
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>

Applied.