[v2,for-next,0/2] RDMA/hns: Add more debugging information for rdma-tool

Message ID 20230831125139.3593067-1-huangjunxian6@hisilicon.com
Headers
Series RDMA/hns: Add more debugging information for rdma-tool |

Message

Junxian Huang Aug. 31, 2023, 12:51 p.m. UTC
  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