diff options
author | Ido Schimmel <[email protected]> | 2024-04-22 17:25:58 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-24 19:33:00 -0700 |
commit | 5bcf925587e9b5d36420d572a0b4d131c90fb306 (patch) | |
tree | f820209830ea91ff2ab7a699494730512f45696e /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 54225988889931467a9b55fdbef534079b665519 (diff) |
mlxsw: spectrum_acl_tcam: Rate limit error message
In the rare cases when the device resources are exhausted it is likely
that the rehash delayed work will fail. An error message will be printed
whenever this happens which can be overwhelming considering the fact
that the work is per-region and that there can be hundreds of regions.
Fix by rate limiting the error message.
Fixes: e5e7962ee5c2 ("mlxsw: spectrum_acl: Implement region migration according to hints")
Signed-off-by: Ido Schimmel <[email protected]>
Tested-by: Alexander Zubkov <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/c510763b2ebd25e7990d80183feff91cde593145.1713797103.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions