Skip to content
Commit 934e0f83 authored by Yan Markman's avatar Yan Markman Committed by David S. Miller
Browse files

net: mvpp2: print rx error with rate-limit



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: default avatarYan Markman <ymarkman@marvell.com>
[Antoine: small rework, commit message]
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b0ab2f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment