summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/ucma.c
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2019-05-31 18:28:03 +0800
committerJason Gunthorpe <jgg@mellanox.com>2019-06-07 15:01:05 -0300
commit4f18904c78495ec16e271ee507709c626e61a62a (patch)
tree8558937d597dbf3ad152d57ea4ef28c907831ad7 /drivers/infiniband/core/ucma.c
parentfa027328a1c93d72031e6cc6b4a7eee967fd7406 (diff)
RDMA/hns: Bugfix for filling the sge of srq
When user post recv a srq with multiple sges, the hardware will get the last correct sge and count the sge numbers according to the specific identifier with lkey. For example, when the driver fills the sges with every wr less than the max sge that the user configured when creating srq, the hardware will stop getting the sge according to the specific lkey in the sge. However, it will always end with the first sge in the current post srq recv interface implementation. Fixes: c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode") Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
0 files changed, 0 insertions, 0 deletions