Skip to content

RDMA/hns: Extend some capabilities for HIP09

Weihang Li linux-rdma 4 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. v4 Latest4 patches 1 replyApplied
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Fix comments from Jason in #2 about the length of buffer to copy.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4RDMA/hns: Add support for EQE in size of 64 Bytesdrivers/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+44 -200 replies
2/4RDMA/hns: Add support for CQE in size of 64 Bytesdrivers/infiniband/hw/hns/hns_roce_cq.c drivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v1.c +5 more+51 -170 replies
3/4RDMA/hns: Add support for QPC in size of 512 Bytesdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v1.c drivers/infiniband/hw/hns/hns_roce_hw_v1.h +3 more+75 -180 replies
4/4RDMA/hns: Add support for SCCC in size of 64 Bytesdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hem.c drivers/infiniband/hw/hns/hns_roce_hw_v2.c +3 more+38 -120 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 for-next 0/4] RDMA/hns: Extend some capabilities for HIP09

HIP09 supports larger entries/contexts to improve the performance of bus or exchange more information with the hardware. The capbilities changes from HIP08 to HIP09 is as follows:
- CEQE: 4B -> 64B
- AEQE: 16B -> 64B
- CQE: 32B -> 64B
- QPC: 256B -> 512B
- SCCC: 32B -> 64B

Previous discussions can be found at:
v3: https://patchwork.kernel.org/cover/11753687/
v2: https://patchwork.kernel.org/cover/11726269/
v1: https://patchwork.kernel.org/cover/11718143/

Changes since v3:
- Fix comments from Jason in #2 about the length of buffer to copy.

Changes since v2:
- Fix comments from Jason about passing cap_flags to the userspace and drop #1 from this series.
- Add a new patch to support SCCC in size of 64 Bytes.

Changes since v1:
- Fix comments from Lang Cheng about redundant comments and type of reserved fields in structure of eqe.
- Rename some variables.

Wenpeng Liang (3):
RDMA/hns: Add support for EQE in size of 64 Bytes RDMA/hns: Add support for CQE in size of 64 Bytes RDMA/hns: Add support for QPC in size of 512 Bytes

Yangyang Li (1):
RDMA/hns: Add support for SCCC in size of 64 Bytes

 drivers/infiniband/hw/hns/hns_roce_cq.c     |  22 ++++-
 drivers/infiniband/hw/hns/hns_roce_device.h |  27 +++--
 drivers/infiniband/hw/hns/hns_roce_hem.c    |   2 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |  17 ++--
 drivers/infiniband/hw/hns/hns_roce_hw_v1.h  |   4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 147 ++++++++++++++++++++++------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  38 +++++--
 drivers/infiniband/hw/hns/hns_roce_main.c   |  10 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c     |   2 +-
 include/uapi/rdma/hns-abi.h                 |   4 +-
 10 files changed, 207 insertions(+), 66 deletions(-)
Signature · 1 line
2.8.1