summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/restrack.c
diff options
context:
space:
mode:
authorYixian Liu <liuyixian@huawei.com>2018-03-21 14:11:18 +0800
committerJason Gunthorpe <jgg@mellanox.com>2018-03-22 12:42:48 -0600
commite95955773d4357a0b09a43128352047afce8f35b (patch)
treef7eb9964dd9c2e0cdf6e416a831215c98a73e745 /drivers/infiniband/core/restrack.c
parent761fc376c999df9febaa491bffae2f6722f423ff (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 'drivers/infiniband/core/restrack.c')
0 files changed, 0 insertions, 0 deletions