mbox series

[v3,rdma-core,0/2] libhns: Add support for direct wqe

Message ID 20211122061405.39621-1-liangwenpeng@huawei.com (mailing list archive)
Headers show
Series libhns: Add support for direct wqe | expand

Message

Wenpeng Liang Nov. 22, 2021, 6:14 a.m. UTC
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.

The kernel parts is named "RDMA/hns: Support direct WQE of userspace".

Changes since v2:
* Only updated kernel-headers.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/20211116150316.21925-1-liangwenpeng@huawei.com/

Changes since v1:
* Changed the mapping scheme of direct wqe.
* Use SIMD instructions to load and store dwqe data, and encapsulate instructions into macros.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/1622194379-59868-1-git-send-email-liweihang@huawei.com/

Wenpeng Liang (1):
  Update kernel headers

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

 kernel-headers/rdma/hns-abi.h    |  2 ++
 providers/hns/hns_roce_u.h       |  5 +++-
 providers/hns/hns_roce_u_hw_v2.c | 44 +++++++++++++++++++++++++-------
 providers/hns/hns_roce_u_hw_v2.h | 31 ++++++++++++----------
 providers/hns/hns_roce_u_verbs.c | 26 +++++++++++++++++--
 util/mmio.h                      | 27 +++++++++++++++++++-
 6 files changed, 109 insertions(+), 26 deletions(-)

--
2.33.0