Skip to content

RDMA/hns: Refactor and reorganization

Weihang Li linux-rdma 2 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. v2 Latest5 patches 1 replyApplied
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Avoid wrapping a function in another one.
- Make a rebase.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5RDMA/hns: Refactor hns_roce_v2_poll_one()drivers/infiniband/hw/hns/hns_roce_hw_v2.c+224 -1790 replies
2/5RDMA/hns: Reorganize hns_roce_create_cq()drivers/infiniband/hw/hns/hns_roce_cq.c+58 -280 replies
3/5RDMA/hns: Refactor reset state checking flowdrivers/infiniband/hw/hns/hns_roce_cmd.c drivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v1.c +2 more+220 -2000 replies
4/5RDMA/hns: Reorganize process of setting HEMdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+44 -330 replies
5/5RDMA/hns: Simplify command fields for HEM base address configurationdrivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+83 -1600 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 for-next 0/5] RDMA/hns: Refactor and reorganization

Refactor the process of polling CQ and several control paths in the hns driver.

Changes since v1:
- Avoid wrapping a function in another one.
- Make a rebase.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

P.S. This version is made based on "RDMA/hns: Support to select congestion
control algorithm" at https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Sorry for just finding out there's merge conflict between these two series,
I will send a new version ASAP if something needs to be updated.

Weihang Li (1):
RDMA/hns: Refactor hns_roce_v2_poll_one()

Xi Wang (3):
RDMA/hns: Refactor reset state checking flow
RDMA/hns: Reorganize process of setting HEM
RDMA/hns: Simplify command fields for HEM base address configuration

Yixing Liu (1):
RDMA/hns: Reorganize hns_roce_create_cq()

 drivers/infiniband/hw/hns/hns_roce_cmd.c    |  35 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c     |  86 ++-
 drivers/infiniband/hw/hns/hns_roce_device.h |  11 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |   2 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 971 +++++++++++++++-------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 116 ++--
 6 files changed, 625 insertions(+), 596 deletions(-)
Signature · 1 line
2.8.1