OSDN Git Service

RDMA/hns: Fix the bug with updating rq head pointer when flush cqe
authorLijun Ou <oulijun@huawei.com>
Wed, 12 Dec 2018 09:49:06 +0000 (17:49 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 7 Jan 2019 19:12:36 +0000 (12:12 -0700)
commit9c6ccc035c209dda07685e8dba829a203ba17499
tree11b292d0df0f70120f53196bad849b9bfb3889c3
parente6b7b7d8a9b999ffed814267b34443155fae1245
RDMA/hns: Fix the bug with updating rq head pointer when flush cqe

When flush cqe with srq, the driver disable to update the rq head pointer
into the hardware.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c