]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "RDMA/hns: Reserve one sge in order to avoid local length error"
authorWeihang Li <liweihang@huawei.com>
Wed, 19 Aug 2020 09:39:44 +0000 (17:39 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 20 Aug 2020 11:35:19 +0000 (08:35 -0300)
commite106686a642f66203f5c040cff4efac386e18d9c
tree75e530cb8f8b2db00783232bcfa5f96f5e61a4ab
parent5ff988c4f5c4814c948f1daefc71464629b0ba2c
Revert "RDMA/hns: Reserve one sge in order to avoid local length error"

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 2354997ef3180336328ec8069899e6c4838f91c9.

Fixes: 2354997ef318 ("RDMA/hns: Reserve one sge in order to avoid local length error")
Link: https://lore.kernel.org/r/1597829984-20223-1-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_qp.c
drivers/infiniband/hw/hns/hns_roce_srq.c