]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Refactor capability configuration flow of VF
authorXi Wang <wangxi11@huawei.com>
Mon, 24 May 2021 12:47:08 +0000 (20:47 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 May 2021 23:25:37 +0000 (20:25 -0300)
commitf106fe8a42164baf73cb699e0b350b6fe7cbceca
tree9bfdf6366b7bdaa8e5de0425f01a1a5e117d92b9
parent59607ca81f867edb10ea0db8efa4eb6ea21506a5
RDMA/hns: Refactor capability configuration flow of VF

The capbability configurations of PFs and VFs are coupled. Decoupling them
by abstracting some functions and reorganizing the configuration process.

Link: https://lore.kernel.org/r/1621860428-58009-1-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@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_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h