Skip to content

RDMA/hns: Fix and refactor CMDQ related code

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. v16 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Drop #2 from the v1 series because the compatibility with the firmware
needs to be considered.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5RDMA/hns: Remove unused member and variable of CMDQdrivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+3 -70 replies
2/5RDMA/hns: Fixes missing error code of CMDQdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+3 -40 replies
3/5RDMA/hns: Remove redundant operations on CMDQdrivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+5 -500 replies
4/5RDMA/hns: Adjust fields and variables about CMDQ tail/headdrivers/infiniband/hw/hns/hns_roce_common.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+21 -230 replies
5/5RDMA/hns: Refactor process of posting CMDQdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+17 -250 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: Fix and refactor CMDQ related code

Remove some dead code in process of CMDQ transmission, and fix an issue about missing error code.

Changes since v1:
* Drop #2 from the v1 series because the compatibility with the firmware
needs to be considered.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Lang Cheng (5):
RDMA/hns: Remove unused member and variable of CMDQ RDMA/hns: Fixes missing error code of CMDQ RDMA/hns: Remove redundant operations on CMDQ RDMA/hns: Adjust fields and variables about CMDQ tail/head RDMA/hns: Refactor process of posting CMDQ

 drivers/infiniband/hw/hns/hns_roce_common.h |   4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 125 ++++++++--------------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |   5 --
 3 files changed, 37 insertions(+), 97 deletions(-)
Signature · 1 line
2.8.1