RDMA/hns: Fix printing level of asynchronous events
authorChengchang Tang <tangchengchang@huawei.com>
Tue, 17 Oct 2023 12:52:33 +0000 (20:52 +0800)
committerLeon Romanovsky <leon@kernel.org>
Thu, 19 Oct 2023 06:49:40 +0000 (09:49 +0300)
commit9faef73ef4f6666b97e04d99734ac09251098185
tree9164ae159940df7e2d6f91d85dbc5cbb2246be48
parent465d6b42f1a3b855c06da1d4d3b09907d261af69
RDMA/hns: Fix printing level of asynchronous events

The current driver will print all asynchronous events. Some of the
print levels are set improperly, e.g. SRQ limit reach and SRQ last
wqe reach, which may also occur during normal operation of the software.
Currently, the information of these event is printed as a warning,
which causes a large amount of printing even during normal use of the
application. As a result, the service performance deteriorates.

This patch fixes the printing storms by modifying the print level.

Fixes: b00a92c8f2ca ("RDMA/hns: Move all prints out of irq handle")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231017125239.164455-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c