RDMA/hns: Reorganize hns_roce_create_cq()
authorYixing Liu <liuyixing1@huawei.com>
Sat, 27 Mar 2021 03:21:31 +0000 (11:21 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 1 Apr 2021 19:12:44 +0000 (16:12 -0300)
commitd102a6e3748474074d0610bc144979a20e328c3e
tree8fd0e91369ab31c97fdcbf7078a3827d28b1b216
parent4940b0ab458adc9446291a50b61f5e7607f0082b
RDMA/hns: Reorganize hns_roce_create_cq()

Encapsulate two subprocesses into functions.

Link: https://lore.kernel.org/r/1616815294-13434-3-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cq.c