RDMA/hns: Bugfix for rq record db for kernel
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:04 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commit3a39bbecc88fa9a99a80de588c8f1fe16aba3446
tree3c3da4858c1450373c092e6088158874c2ee406c
parentecaaf1e26a37ddf7cba4e425cf68ae7ce1869bc0
RDMA/hns: Bugfix for rq record db for kernel

When used rq record db for kernel, it needs to set the rdb_en of
hr_qp to 1 and configures the dma address of record rq db of qp
context.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_qp.c