]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: rate limit alloc_ent error messages
authorLi RongQing <lirongqing@baidu.com>
Thu, 24 Oct 2019 08:23:33 +0000 (16:23 +0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Nov 2019 21:55:17 +0000 (14:55 -0700)
commit44ceb80a01b5d87496e05a9700624edfba373e5e
tree6440ac01248dc5e8af2838cf8bded482f1c9cdaf
parentfd4ee0fa595728a63cfe891f609f0bfbacd626bd
net/mlx5: rate limit alloc_ent error messages

when debug a bug, which triggers TX hang, and kernel log is
spammed with the following info message

    [ 1172.044764] mlx5_core 0000:21:00.0: cmd_work_handler:930:(pid 8):
    failed to allocate command entry

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c