]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Refactor the alloc_cqc()
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 2 Mar 2022 06:48:30 +0000 (14:48 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 4 Mar 2022 21:36:32 +0000 (17:36 -0400)
commite5c00f6057e804d583d5d98b2d8935b534d57782
tree29691c157282e53d5dc43a08878839b76a10ec1b
parent57078590b0442c6f151c4c63361fd6e71e2dcad1
RDMA/hns: Refactor the alloc_cqc()

Abstract the alloc_cqc() into several parts and separate the process
unrelated to allocating CQC.

Link: https://lore.kernel.org/r/20220302064830.61706-10-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cq.c