The patchset mainly fixes the sge_num bug relates to sq_inline. Changes since v2: 1. Move the refactor rq_inline and new CQE inline patches to go into for-next after this bugfix apply. 2. Change the commit message to better explain the bug. V2 Link: https://patchwork.kernel.org/project/linux-rdma/cover/20221026095054.2384620-1-xuhaoyue1@xxxxxxxxxxxxx/ Luoyouming (2): RDMA/hns: Fix ext_sge num error when post send RDMA/hns: Fix the problem of sge nums drivers/infiniband/hw/hns/hns_roce_device.h | 3 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 3 +- drivers/infiniband/hw/hns/hns_roce_main.c | 18 +++- drivers/infiniband/hw/hns/hns_roce_qp.c | 107 ++++++++++++++++---- include/uapi/rdma/hns-abi.h | 15 +++ 5 files changed, 125 insertions(+), 21 deletions(-) -- 2.30.0