]> git.baikalelectronics.ru Git - kernel.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)
commitfce578c29f1416e7195a92273b9d67133a85993b
tree357a3a06ebaf13b18db45622c2b36217aae0b6a9
parentb4c2623b86d1a39b1e43e53bf95e66eed9da496e
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