RDMA/hns: Modify prints for mailbox and command queue
authorWenpeng Liang <liangwenpeng@huawei.com>
Thu, 1 Apr 2021 07:32:21 +0000 (15:32 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 19:05:04 +0000 (16:05 -0300)
commit8d78e7b478d5d7e3dc71eabcb4848c14d431f601
treef444c4ede77e913a3049c03c747459acf4b4b1a6
parent0835cf58393c3c161647ff8b5a3b3298955404a2
RDMA/hns: Modify prints for mailbox and command queue

Use ratelimited print in mbox and cmq. And print mailbox operation if
mailbox fails because it's useful information for the user.

Link: https://lore.kernel.org/r/1617262341-37571-4-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cmd.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c