RDMA/hns: Dump whole QP/CQ/MR resource in raw
authorChengchang Tang <tangchengchang@huawei.com>
Wed, 16 Aug 2023 09:18:10 +0000 (17:18 +0800)
committerLeon Romanovsky <leon@kernel.org>
Sat, 19 Aug 2023 11:26:08 +0000 (14:26 +0300)
commitc4bb187379ddc45affbb5d3f895bdcb9eadd77e6
tree864e3d9d020fa32a491e1f681a8a54fbe0ebfe03
parent5f513c8b9740ea05a136219739a5358780c3cb5f
RDMA/hns: Dump whole QP/CQ/MR resource in raw

Currently, some fields in the QP/CQ/MR resource can be dumped by
rdma-tool, but this information is not enough. It is very
inconvenient to continue to expand on the current field, and it
will also introduce some trouble to parse these raw data.

This patch dump whole resource in raw to avoid the above problems.

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20230816091812.2899366-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_restrack.c