Skip to content

RDMA/hns: Misc Updates

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 Latest8 patches 3 repliesApplied
  2. v29 patches 12 repliesSuperseded
  3. v19 patches 2 repliesSuperseded

Changes in v3 from the cover letter

Fix some issuses according to Jason's comments.
- Change 'unlikely' to 'WARN_ON' and remove prints when getting illegal opcodes.
- Drop patch #2 from v1 because the newly added check is meaningless for sparse.
- Add fixes tag for patch #3 ~ #5.
- Change '1 << PAGE_SHIFT' to 'PAGE_SIZE' in patch #6.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8RDMA/hns: Refactor process about opcode in post_send()drivers/infiniband/hw/hns/hns_roce_hw_v2.c+78 -552 replies
2/8RDMA/hns: Add interception for resizing SRQsdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+4 -00 replies
3/8RDMA/hns: Correct typo of hns_roce_create_cq()drivers/infiniband/hw/hns/hns_roce_cq.c+1 -10 replies
4/8RDMA/hns: Add check for the validity of sl configurationdrivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+12 -20 replies
5/8RDMA/hns: Solve the overflow of the calc_pg_sz()drivers/infiniband/hw/hns/hns_roce_hw_v2.c+3 -30 replies
6/8RDMA/hns: Fix the wrong value of rnr_retry when querying qpdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+3 -10 replies
7/8RDMA/hns: Fix configuration of ack_req_freq in QPCdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+12 -60 replies
8/8RDMA/hns: Fix missing sq_sig_type when querying QPdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+1 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 for-next 0/8] RDMA/hns: Misc Updates

Here are some miscellaneous cleanups and fixes for the hns driver, including refactor, some newly added checks and so on.

Previous discussion:
v2: https://patchwork.kernel.org/cover/11765125/
v1: https://patchwork.kernel.org/cover/11761647/

Changes since v2:
Fix some issuses according to Jason's comments.
- Change 'unlikely' to 'WARN_ON' and remove prints when getting illegal opcodes.
- Drop patch #2 from v1 because the newly added check is meaningless for sparse.
- Add fixes tag for patch #3 ~ #5.
- Change '1 << PAGE_SHIFT' to 'PAGE_SIZE' in patch #6.

Changes since v1:
- Fix a missing assignment of owner_bit in set_rc_wqe()

Jiaran Zhang (2):
RDMA/hns: Add check for the validity of sl configuration RDMA/hns: Solve the overflow of the calc_pg_sz()

Lang Cheng (1):
RDMA/hns: Correct typo of hns_roce_create_cq()

Weihang Li (3):
RDMA/hns: Refactor process about opcode in post_send() RDMA/hns: Fix configuration of ack_req_freq in QPC RDMA/hns: Fix missing sq_sig_type when querying QP

Wenpeng Liang (1):
RDMA/hns: Fix the wrong value of rnr_retry when querying qp

Yangyang Li (1):
RDMA/hns: Add interception for resizing SRQs

 drivers/infiniband/hw/hns/hns_roce_cq.c    |   2 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 178 ++++++++++++++++++-----------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h |   2 +
 3 files changed, 114 insertions(+), 68 deletions(-)
Signature · 1 line
2.8.1