This patchset enables hip08 to support Unreliable Datagram. PR: https://github.com/linux-rdma/rdma-core/pull/575 Changelog: v2->v3: Remove patch "libhns: Support configuring loopback mode by user" from this patchset, it needs to be further considered. v1->v2: Fix comments from Leon Romanovsky and do some fixes in patch(3/4). Lijun Ou (2): libhns: Add support of handling AH for hip08 libhns: Add UD support for hip08 in user mode Yixian Liu (2): libhns: Bugfix for wqe idx calc of post verbs libhns: Refactor for post send kernel-headers/rdma/hns-abi.h | 7 + providers/hns/hns_roce_u.c | 2 + providers/hns/hns_roce_u.h | 40 +++ providers/hns/hns_roce_u_abi.h | 3 +- providers/hns/hns_roce_u_hw_v1.c | 27 +- providers/hns/hns_roce_u_hw_v2.c | 573 +++++++++++++++++++++------------------ providers/hns/hns_roce_u_hw_v2.h | 91 +++++++ providers/hns/hns_roce_u_verbs.c | 59 ++++ 8 files changed, 516 insertions(+), 286 deletions(-) -- 2.8.1