]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Rate limit page not found error messages
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 19 Apr 2020 07:20:40 +0000 (10:20 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 30 Apr 2020 17:10:44 +0000 (10:10 -0700)
commitc7636942d278db7f502c626a47d2ce1111602716
tree357a3a06ebaf13b18db45622c2b36217aae0b6a9
parentc655c1f46957eb4f30221c52580e38f85058e167
net/mlx5: Rate limit page not found error messages

Thousands of pages are released with free_addr() function. In case of
buggy sync between FW and driver on released address, the log will be
flooded with error messages. Use mlx5_core_warn_rl() to limit it.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c