Process of wqe is hard to understand and maintain in hns, this series refactor wqe related code, especially in hns_roce_v2_post_send(). Xi Wang (5): RDMA/hns: Rename wqe buffer related functions RDMA/hns: Optimize wqe buffer filling process for post send RDMA/hns: Optimize the wr opcode conversion from ib to hns RDMA/hns: Optimize base address table config flow for qp buffer RDMA/hns: Optimize wqe buffer set flow for post send drivers/infiniband/hw/hns/hns_roce_device.h | 10 +- drivers/infiniband/hw/hns/hns_roce_hem.c | 16 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 9 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 596 ++++++++++++++-------------- drivers/infiniband/hw/hns/hns_roce_qp.c | 48 +-- 5 files changed, 327 insertions(+), 352 deletions(-) -- 2.8.1