]> www.infradead.org Git - users/jedix/linux-maple.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)
commit3f0d979efb82ce514ef1c6f135d0f118bf1bcea4
tree9bfdf6366b7bdaa8e5de0425f01a1a5e117d92b9
parent221442ea0f60ae345a33df8b6d22201404f5a987
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