]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/hns: Modify the print level of CQE error
authorChengchang Tang <tangchengchang@huawei.com>
Fri, 12 Apr 2024 09:16:16 +0000 (17:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:31 +0000 (13:39 +0200)
commitcc699b7eb2bc963c12ffcd37f80f45330d2924bd
tree54f461fa60a1bb77b70e27713e00179dff954317
parent4d5b155cd4957c7f7e3649a46b1dd0416fb3fcbe
RDMA/hns: Modify the print level of CQE error

[ Upstream commit 349e859952285ab9689779fb46de163f13f18f43 ]

Too much print may lead to a panic in kernel. Change ibdev_err() to
ibdev_err_ratelimited(), and change the printing level of cqe dump
to debug level.

Fixes: 7c044adca272 ("RDMA/hns: Simplify the cqe code of poll cq")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240412091616.370789-11-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c