Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Wenpeng Liang <liangwenpeng@huawei.com>
To: <jgg@nvidia.com>, <leon@kernel.org>
Cc: <linux-rdma@vger.kernel.org>, <linuxarm@huawei.com>,
	<liangwenpeng@huawei.com>
Subject: [PATCH v2 for-next 0/7] RDMA/hns: Add more restrack attributes to hns driver
Date: Mon, 22 Aug 2022 18:44:48 +0800	[thread overview]
Message-ID: <20220822104455.2311053-1-liangwenpeng@huawei.com> (raw)

The hns driver already supports CQ's restrack ops. Therefore, this patchset
supports QP/MR's restrack ops and CQ/QP/MR's restrack raw ops. Among them,
restrack ops dump the queue information maintained by the driver, and
restrack raw ops dump the queue context maintained by ROCEE.

Changes since v1:
* Add support for restrack raw ops.
* Add the result dumped by rdmatool in the commit message.
* v1 Link: https://patchwork.kernel.org/project/linux-rdma/cover/20220124124624.55352-1-liangwenpeng@huawei.com/

Wenpeng Liang (7):
  RDMA/hns: Remove redundant DFX file and DFX ops structure
  RDMA/hns: Add or remove CQ's restrack attributes
  RDMA/hns: Support CQ's restrack raw ops for hns driver
  RDMA/hns: Support QP's restrack ops for hns driver
  RDMA/hns: Support QP's restrack raw ops for hns driver
  RDMA/hns: Support MR's restrack ops for hns driver
  RDMA/hns: Support MR's restrack raw ops for hns driver

 drivers/infiniband/hw/hns/Makefile            |   2 +-
 drivers/infiniband/hw/hns/hns_roce_device.h   |  17 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c    |  76 +++++-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h    |   6 +-
 .../infiniband/hw/hns/hns_roce_hw_v2_dfx.c    |  34 ---
 drivers/infiniband/hw/hns/hns_roce_main.c     |  11 +-
 drivers/infiniband/hw/hns/hns_roce_restrack.c | 220 ++++++++++++++----
 7 files changed, 263 insertions(+), 103 deletions(-)
 delete mode 100644 drivers/infiniband/hw/hns/hns_roce_hw_v2_dfx.c

--
2.30.0


             reply	other threads:[~2022-08-22 10:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 10:44 Wenpeng Liang [this message]
2022-08-22 10:44 ` [PATCH v2 for-next 1/7] RDMA/hns: Remove redundant DFX file and DFX ops structure Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 2/7] RDMA/hns: Add or remove CQ's restrack attributes Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 3/7] RDMA/hns: Support CQ's restrack raw ops for hns driver Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 4/7] RDMA/hns: Support QP's restrack " Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 5/7] RDMA/hns: Support QP's restrack raw " Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 6/7] RDMA/hns: Support MR's restrack " Wenpeng Liang
2022-08-22 10:44 ` [PATCH v2 for-next 7/7] RDMA/hns: Support MR's restrack raw " Wenpeng Liang
2022-08-23  8:37 ` [PATCH v2 for-next 0/7] RDMA/hns: Add more restrack attributes to " Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220822104455.2311053-1-liangwenpeng@huawei.com \
    --to=liangwenpeng@huawei.com \
    --cc=jgg@nvidia.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox