]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit321066159257378eb8b7975a160cd0e265c015c7
tree34a4758e54a76b3135c32b1d31c6686ec2044b90
parent92b1bf6585455e7422e86bd87b1db2aa9b9df969
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: 0d86382f2a1f ("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