On Wed, Aug 19, 2020 at 05:39:44PM +0800, Weihang Li wrote: > This patch caused some issues on SEND operation, and it should be reverted > to make the drivers work correctly. There will be a better solution that > has been tested carefully to solve the original problem. > > This reverts commit 711195e57d341e58133d92cf8aaab1db24e4768d. > > Fixes: 711195e57d34 ("RDMA/hns: Reserve one sge in order to avoid local length error") > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_device.h | 2 -- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 9 ++++----- > drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 4 +--- > drivers/infiniband/hw/hns/hns_roce_qp.c | 5 ++--- > drivers/infiniband/hw/hns/hns_roce_srq.c | 2 +- > 5 files changed, 8 insertions(+), 14 deletions(-) Applied to for-rc, thanks Jason