mbox series

[for-next,0/3] Support SW stats with debugfs

Message ID 20231114123449.1106162-1-huangjunxian6@hisilicon.com (mailing list archive)
Headers show
Series Support SW stats with debugfs | expand

Message

Junxian Huang Nov. 14, 2023, 12:34 p.m. UTC
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

Comments

Leon Romanovsky Nov. 19, 2023, 12:56 p.m. UTC | #1
On Tue, 14 Nov 2023 20:34:46 +0800, Junxian Huang wrote:
> 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
> 
> [...]

Applied, thanks!

[1/3] RDMA/hns: Fix inappropriate err code for unsupported operations
      https://git.kernel.org/rdma/rdma/c/f45b83ad39f803
[2/3] RDMA/hns: Add debugfs to hns RoCE
      https://git.kernel.org/rdma/rdma/c/ca7ad04cd5d2f8
[3/3] RDMA/hns: Support SW stats with debugfs
      https://git.kernel.org/rdma/rdma/c/eb7854d63db543

Best regards,