]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6da06c6291f38be4df6df2efb76ba925096d2691
tree75e530cb8f8b2db00783232bcfa5f96f5e61a4ab
parentb25e8e85e75a61af1ddc88c4798387dd3132dd43
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 711195e57d341e58133d92cf8aaab1db24e4768d.

Fixes: 711195e57d34 ("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