mbox series

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

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

Message

Wenpeng Liang Nov. 16, 2021, 3:03 p.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 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 ++
 kernel-headers/rdma/rdma_netlink.h  |  5 ++++
 kernel-headers/rdma/rdma_user_rxe.h | 14 +++++++--
 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 +++++++++++++++++-
 8 files changed, 125 insertions(+), 29 deletions(-)

--
2.33.0