summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/devx.c
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2020-05-08 17:45:59 +0800
committerJason Gunthorpe <jgg@mellanox.com>2020-05-19 20:54:59 -0300
commit711195e57d341e58133d92cf8aaab1db24e4768d (patch)
tree43ddd6a2777d93fbf3eda1f29f2d092267102ca4 /drivers/infiniband/hw/mlx5/devx.c
parent9581a356ccadb24d4a18c62c5c8327997e47241e (diff)
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
0 files changed, 0 insertions, 0 deletions