This series does cleanups on UD related code at first, including removing dead code, adding necessary check and some refactors. Then the UD feature is enabled on HIP09. Jiaran Zhang (1): RDMA/hns: Add check for the validity of sl configuration in UD SQ WQE Weihang Li (7): RDMA/hns: Only record vlan info for HIP08 RDMA/hns: Fix missing fields in address vector RDMA/hns: Avoid setting loopback indicator when smac is same as dmac RDMA/hns: Remove the portn field in UD SQ WQE RDMA/hns: Simplify process of filling UD SQ WQE RDMA/hns: Add UD support for HIP09 RDMA/hns: Add support for UD inline drivers/infiniband/hw/hns/hns_roce_ah.c | 61 ++++---- drivers/infiniband/hw/hns/hns_roce_device.h | 5 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 206 ++++++++++++++++++++-------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 44 +++--- drivers/infiniband/hw/hns/hns_roce_qp.c | 9 +- 5 files changed, 209 insertions(+), 116 deletions(-) -- 2.8.1