OSDN Git Service

RDMA/hns: RDMA/hns: Assign rq head pointer when enable rq record db
authorLijun Ou <oulijun@huawei.com>
Sat, 12 Jan 2019 10:36:29 +0000 (18:36 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 18 Jan 2019 20:04:27 +0000 (13:04 -0700)
commitde77503a59403e7045c18c6bb0a10c245a99b648
treeb3359bff8083d2f1628920f57e06b39e52953928
parent8e8aa1454205839030c9406febd1f6d4ece0d573
RDMA/hns: RDMA/hns: Assign rq head pointer when enable rq record db

When flush cqe, it needs to get the pointer of rq and sq from db address
space of user and update it into qp context by modified qp. if rq does not
exist, it will not get the value from db address space of user.

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