[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231114123449.1106162-1-huangjunxian6@hisilicon.com>
Date: Tue, 14 Nov 2023 20:34:46 +0800
From: Junxian Huang <huangjunxian6@...ilicon.com>
To: <jgg@...pe.ca>, <leon@...nel.org>
CC: <linux-rdma@...r.kernel.org>, <linuxarm@...wei.com>,
<linux-kernel@...r.kernel.org>, <huangjunxian6@...ilicon.com>
Subject: [PATCH for-next 0/3] Support SW stats with debugfs
This patchset introduces hns debugfs and supports SW stats with it.
Junxian Huang (3):
RDMA/hns: Fix inappropriate err code for unsupported operations
RDMA/hns: Add debugfs to hns RoCE
RDMA/hns: Support SW stats with debugfs
drivers/infiniband/hw/hns/Makefile | 3 +-
drivers/infiniband/hw/hns/hns_roce_ah.c | 6 +-
drivers/infiniband/hw/hns/hns_roce_cmd.c | 19 +++-
drivers/infiniband/hw/hns/hns_roce_cq.c | 17 ++-
drivers/infiniband/hw/hns/hns_roce_debugfs.c | 110 +++++++++++++++++++
drivers/infiniband/hw/hns/hns_roce_debugfs.h | 33 ++++++
drivers/infiniband/hw/hns/hns_roce_device.h | 26 +++++
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 49 ++++++---
drivers/infiniband/hw/hns/hns_roce_main.c | 48 ++++++--
drivers/infiniband/hw/hns/hns_roce_mr.c | 26 +++--
drivers/infiniband/hw/hns/hns_roce_pd.c | 12 +-
drivers/infiniband/hw/hns/hns_roce_qp.c | 8 +-
drivers/infiniband/hw/hns/hns_roce_srq.c | 6 +-
13 files changed, 319 insertions(+), 44 deletions(-)
create mode 100644 drivers/infiniband/hw/hns/hns_roce_debugfs.c
create mode 100644 drivers/infiniband/hw/hns/hns_roce_debugfs.h
--
2.30.0
Powered by blists - more mailing lists