Skip to content

RDMA/hns: Refactor wqe related codes

Weihang Li linux-rdma 3 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesApplied
  2. v25 patches 3 repliesSuperseded
  3. v15 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- Remove a redundant assignment of "NULL" in patch 4/5.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5RDMA/hns: Rename wqe buffer related functionsdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v1.c drivers/infiniband/hw/hns/hns_roce_hw_v2.c +1 more+16 -150 replies
2/5RDMA/hns: Optimize wqe buffer filling process for post senddrivers/infiniband/hw/hns/hns_roce_hw_v2.c+32 -310 replies
3/5RDMA/hns: Optimize the wr opcode conversion from ib to hnsdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+36 -270 replies
4/5RDMA/hns: Optimize base address table config flow for qp bufferdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hem.c drivers/infiniband/hw/hns/hns_roce_qp.c+21 -410 replies
5/5RDMA/hns: Optimize wqe buffer set flow for post senddrivers/infiniband/hw/hns/hns_roce_hw_v2.c+224 -2480 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 for-next 0/5] RDMA/hns: Refactor wqe related codes

Process of wqe is hard to understand and maintain in hns, this series refactor wqe related code, especially in hns_roce_v2_post_send().

Previous discussion could be found at:
- v2: https://patchwork.kernel.org/cover/11422963/
- v1: https://patchwork.kernel.org/cover/11415395/

Changes since v2:
- Remove a redundant assignment of "NULL" in patch 4/5.

Changes since v1:
- Fix comments from Leon about the inplementation of to_hr_opcode() in patch 3/5.
- Patch 4/5 couldn't be applied. Just do a rebase.

Xi Wang (5):
RDMA/hns: Rename wqe buffer related functions RDMA/hns: Optimize wqe buffer filling process for post send RDMA/hns: Optimize the wr opcode conversion from ib to hns RDMA/hns: Optimize base address table config flow for qp buffer RDMA/hns: Optimize wqe buffer set flow for post send

 drivers/infiniband/hw/hns/hns_roce_device.h |  10 +-
 drivers/infiniband/hw/hns/hns_roce_hem.c    |  16 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |   9 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 588 ++++++++++++++--------------
 drivers/infiniband/hw/hns/hns_roce_qp.c     |  48 +--
 5 files changed, 319 insertions(+), 352 deletions(-)
Signature · 1 line
2.8.1