This patch series add rq inline support for hip08 kernel mode as well as fix some bugs for hip06 and hip08. Change from V4: 1. Fix the comment given by Leon Romanovsky 2. Delete unnecessary judgment when kfreeing wqe_list in exception branch Change from V3: 1. Fix the usage of kcalloc Change from V2: 1. Delete unnessary judgement for kfree 2. Use kcalloc instead of kmalloc_array 3. Adjust the method of setting attr_mask Change from V1: 1. Optimize some lines according to Leon Romanovsky's reviews 2. Delete unnecessary operation for setting NULL 3. encapsulated the process for handle rq inline wqe with a seperated function. 4. Add signed-off-by. Lijun Ou (5): RDMA/hns: Add rq inline data support for hip08 RoCE RDMA/hns: Update the usage of sr_max and rr_max field RDMA/hns: Set access flags of hip08 RoCE RDMA/hns: Filter for zero length of sge in hip08 kernel mode RDMA/hns: Assign dest_qp when deregistering mr Yixian Liu (1): RDMA/hns: Fix QP state judgement before sending work requests drivers/infiniband/hw/hns/hns_roce_device.h | 19 ++++ drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 2 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 171 ++++++++++++++++++++++------ drivers/infiniband/hw/hns/hns_roce_qp.c | 53 +++++++-- 4 files changed, 203 insertions(+), 42 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html