Skip to content
Commit 32f7451d authored by kernel@kyup.com's avatar kernel@kyup.com Committed by Doug Ledford
Browse files

ipoib: Make ipoib_warn ratelimited



In certain cases it's possible to be flooded by warning messages. To
cope with such situations make the ipoib_warn macro be ratelimited.
To prevent accidental limiting of legitimate, bursty messages make
the limit fairly liberal by allowing up to 100 messages in 10 seconds.

Signed-off-by: default avatarNikolay Borisov <kernel@kyup.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent fb6375d7
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