diff options
author | Yixian Liu <liuyixian@huawei.com> | 2018-03-21 14:11:18 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-22 12:42:48 -0600 |
commit | e95955773d4357a0b09a43128352047afce8f35b (patch) | |
tree | f7eb9964dd9c2e0cdf6e416a831215c98a73e745 /include/rdma/restrack.h | |
parent | 761fc376c999df9febaa491bffae2f6722f423ff (diff) |
RDMA/hns: Fix cq record doorbell enable in kernel
Upon detecting both kernel and user space support record doorbell,
the kernel needs to enable this capability in hardware by db_en,
and it should take place before cq context configuration in
hns_roce_cq_alloc. Currently, db_en is configured after cq alloc
and db_map_user has similar problem.
Reported-by: Xiping Zhang <zhangxiping3@huawei.com>
Fixes: 9b44703d0a21 ("RDMA/hns: Support cq record doorbell for the user space")
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/restrack.h')
0 files changed, 0 insertions, 0 deletions