linux/drivers/infiniband/hw/hns
Lijun Ou 711195e57d RDMA/hns: Reserve one sge in order to avoid local length error
When rq/srq sge length is smaller than sq sge length, it will produce a
local length error and may cause the bus to hang. Therefore, for rq wqe
and srq wqe, one reserved sge pointing to a reserved mr is used to avoid
this error.

Link: https://lore.kernel.org/r/1588931159-56875-10-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-19 20:54:59 -03:00
..
hns_roce_ah.c RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
hns_roce_alloc.c RDMA/hns: Rename macro for defining hns hardware page size 2020-05-19 20:54:59 -03:00
hns_roce_cmd.c RDMA/hns: Optimize cmd init and mode selection for hip08 2019-09-16 10:52:20 -03:00
hns_roce_cmd.h RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c RDMA/hns: Rename macro for defining hns hardware page size 2020-05-19 20:54:59 -03:00
hns_roce_db.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_device.h RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
hns_roce_hem.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_hem.h RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_hw_v1.c RDMA/hns: Optimize PBL buffer allocation process 2020-05-06 17:26:43 -03:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
hns_roce_hw_v2.h RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
hns_roce_main.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_mr.c RDMA/hns: Rename macro for defining hns hardware page size 2020-05-19 20:54:59 -03:00
hns_roce_pd.c RDMA/hns: Unify format of prints 2020-03-26 16:52:26 -03:00
hns_roce_qp.c RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
hns_roce_restrack.c RDMA/hns: Fix memory leak on 'context' on error return path 2019-10-28 13:41:23 -03:00
hns_roce_srq.c RDMA/hns: Reserve one sge in order to avoid local length error 2020-05-19 20:54:59 -03:00
Kconfig RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00