On Wed, Mar 21, 2018 at 02:11:18PM +0800, Yixian Liu wrote: > 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@xxxxxxxxxx> > Fixes: 9b44703d0a21 ("RDMA/hns: Support cq record doorbell for the user space") > Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx> > Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_cq.c | 38 +++++++++++++++------------------ > 1 file changed, 17 insertions(+), 21 deletions(-) Applied to for-next Thanks, Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html