RDMA/hns: Encapsulate the qp db as a function
authorYixing Liu <liuyixing1@huawei.com>
Thu, 26 Aug 2021 13:37:35 +0000 (21:37 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Aug 2021 15:12:21 +0000 (12:12 -0300)
commitae2854c5d318c8415e2f033b29fcfcb81a9e9aa7
tree92df4502f6a607a8e1f21c2cb6028d0c4cf4635d
parent7fac71691b61777d938226d06e5034746d482ef3
RDMA/hns: Encapsulate the qp db as a function

Encapsulate qp db into two functions: user and kernel.

Link: https://lore.kernel.org/r/1629985056-57004-7-git-send-email-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_qp.c