]> 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)
commit5ee5bb6f0efc96153c51e110b5b0512d42e4b004
tree34a4758e54a76b3135c32b1d31c6686ec2044b90
parenteb501eb845473ae70ed3a3b19b554b4e20ac753c
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: 9155fc028e39 ("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