Skip to content

libhns: Add support for direct WQE

Weihang Li linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Update kernel headerskernel-headers/rdma/hns-abi.h+6 -00 replies
2/4libhns: Refactor hns uar mmap flowproviders/hns/hns_roce_u.c providers/hns/hns_roce_u.h+61 -270 replies
3/4libhns: Fixes data type when writing doorbellproviders/hns/hns_roce_u_db.h providers/hns/hns_roce_u_hw_v1.c providers/hns/hns_roce_u_hw_v2.c+29 -292 replies
4/4libhns: Add support for direct wqeproviders/hns/hns_roce_u.h providers/hns/hns_roce_u_hw_v2.c providers/hns/hns_roce_u_hw_v2.h +1 more+108 -196 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH rdma-core 0/4] libhns: Add support for direct WQE

Direct wqe is a mechanism to fill wqe directly into the hardware. In the case of light load, the wqe will be filled into pcie bar space of the hardware, this will reduce one memory access operation and therefore reduce the latency.

This series first refactor current uar mmap process to add branch for direct wqe, then fix an issue on interface to write doorbell, the feature is enabled at last.

The kernel parts is named "RDMA/hns: Add support for userspace Direct WQE".

Lang Cheng (1):
libhns: Fixes data type when writing doorbell

Weihang Li (1):
Update kernel headers

Xi Wang (1):
libhns: Refactor hns uar mmap flow

Yixing Liu (1):
libhns: Add support for direct wqe

 kernel-headers/rdma/hns-abi.h    |  6 +++
 providers/hns/hns_roce_u.c       | 76 ++++++++++++++++++++++++--------------
 providers/hns/hns_roce_u.h       | 19 +++++++++-
 providers/hns/hns_roce_u_db.h    | 13 ++-----
 providers/hns/hns_roce_u_hw_v1.c | 17 +++++----
 providers/hns/hns_roce_u_hw_v2.c | 80 ++++++++++++++++++++++++++++++++--------
 providers/hns/hns_roce_u_hw_v2.h | 29 ++++++++-------
 providers/hns/hns_roce_u_verbs.c | 39 ++++++++++++++++++++
 8 files changed, 204 insertions(+), 75 deletions(-)
Signature · 1 line
2.7.4