RDMA/hns: Bugfix for cq record db for kernel
authoroulijun <oulijun@huawei.com>
Tue, 22 May 2018 12:47:14 +0000 (20:47 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 23 May 2018 21:45:44 +0000 (15:45 -0600)
commit05d6a4ddb654ef6f2fbbcf9dcb3b263184baa8e4
tree34a4758e54a76b3135c32b1d31c6686ec2044b90
parentf4602cbb0a2478dda8238a4f382867da425daa8e
RDMA/hns: Bugfix for cq record db for kernel

When use cq record db for kernel, it needs to set the hr_cq->db_en
to 1 and configure the dma address of record cq db of qp context.

Fixes: 86188a8810ed ("RDMA/hns: Support cq record doorbell for kernel space")
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_cq.c