mbox series

[v2,for-next,0/7] RDMA/hns: Add more restrack attributes to hns driver

Message ID 20220822104455.2311053-1-liangwenpeng@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Add more restrack attributes to hns driver | expand

Message

Wenpeng Liang Aug. 22, 2022, 10:44 a.m. UTC
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

Comments

Leon Romanovsky Aug. 23, 2022, 8:37 a.m. UTC | #1
On Mon, Aug 22, 2022 at 06:44:48PM +0800, Wenpeng Liang wrote:
> 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/

https://lore.kernel.org/all/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
> 

Thanks, applied.