Skip to content

RDMA/hns: Support RoCE on virtual functions of HIP09

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

Changes in v2 from the cover letter

- Simplify hr_reg_read() by FIELD_GET in #1.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6RDMA/hns: Simplify function's resource related commanddrivers/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+89 -3050 replies
2/6RDMA/hns: Query the number of functions supported by the PFdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+10 -40 replies
3/6RDMA/hns: Reserve the resource for the VFsdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+60 -280 replies
4/6RDMA/hns: Set parameters of all the functions belong to a PFdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+16 -20 replies
5/6RDMA/hns: Enable RoCE on virtual functionsdrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+202 -390 replies
6/6RDMA/hns: Remove duplicated hem page size config codedrivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+76 -1100 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/6] RDMA/hns: Support RoCE on virtual functions of HIP09

This series first do necessary refactor on function's resource code to reduce the complexity of subsequent patches. Then the RoCE support for VFs is introduced.

Changes since v1:
- Simplify hr_reg_read() by FIELD_GET in #1.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Wei Xu (4):
RDMA/hns: Query the number of functions supported by the PF RDMA/hns: Reserve the resource for the VFs RDMA/hns: Set parameters of all the functions belong to a PF RDMA/hns: Enable RoCE on virtual functions

Xi Wang (2):
RDMA/hns: Simplify function's resource related command RDMA/hns: Remove duplicated hem page size config code

 drivers/infiniband/hw/hns/hns_roce_common.h |  10 +
 drivers/infiniband/hw/hns/hns_roce_device.h |   6 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 553 ++++++++++++++++------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 236 +++---------
 4 files changed, 385 insertions(+), 420 deletions(-)
Signature · 1 line
2.8.1