RDMA/hns: Package the flow of creating cq
authorLijun Ou <oulijun@huawei.com>
Mon, 8 Jul 2019 13:41:17 +0000 (21:41 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Jul 2019 15:23:10 +0000 (12:23 -0300)
commit4f8f0d5e33ddb0d102cf6e61c8e8f497eb1c3866
tree3b2100b534912542baf2d2d4f8c2bed8df923ffb
parenta5c9c299d1e1f3c6fb421d73367cc2f793af1a2d
RDMA/hns: Package the flow of creating cq

Moves the related code of creating cq into separate functions in order to
improve comprehensibility.

Link: https://lore.kernel.org/r/1562593285-8037-2-git-send-email-oulijun@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_cq.c