]> Git Repo - linux.git/commit
net: mvpp2: print rx error with rate-limit
authorYan Markman <[email protected]>
Thu, 17 May 2018 08:34:27 +0000 (10:34 +0200)
committerDavid S. Miller <[email protected]>
Thu, 17 May 2018 20:18:55 +0000 (16:18 -0400)
commit934e0f8330a483a582805c640ef9885b4e69aa63
treef385024e504281d55137eaf4ebc3af7264ebe495
parent5b0ab2f41d7593d87762dce1cbaf548f988a2917
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: Yan Markman <[email protected]>
[Antoine: small rework, commit message]
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvpp2.c
This page took 0.058372 seconds and 4 git commands to generate.