1. #1: The first patch supports dumping QP/CQ/MR context entirely in raw data with rdma-tool. 2. #2: The second patch supports query of HW stats with rdma-tool. V2 fixes the static warnings in V1, and drops the SW statistics patch. The SW statistics will be implemented with a new solution and will be sent separately later. Chengchang Tang (2): RDMA/hns: Dump whole QP/CQ/MR resource in raw RDMA/hns: Support hns HW stats drivers/infiniband/hw/hns/hns_roce_device.h | 28 +++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 51 ++++++++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 1 + drivers/infiniband/hw/hns/hns_roce_main.c | 79 +++++++++++++++++++ drivers/infiniband/hw/hns/hns_roce_restrack.c | 75 +----------------- 5 files changed, 162 insertions(+), 72 deletions(-) -- 2.30.0