]> git.droids-corp.org - dpdk.git/commit
net/hns3: refactor multi-process initialization
authorHuisong Li <lihuisong@huawei.com>
Tue, 2 Nov 2021 01:38:29 +0000 (09:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Nov 2021 14:11:32 +0000 (15:11 +0100)
commitff6dc76e40b8d707df9c6273215d00fa46b628be
tree187bfd02dc88c21f3aa57e9a006518e6a45aa9f7
parent443242212baeb67d298c54cc927553c92aa29bec
net/hns3: refactor multi-process initialization

Currently, the logic of the PF and VF initialization codes for multiple
process is the same. A common function can be extracted to initialize
and unload multiple process.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/hns3/hns3_mp.c
drivers/net/hns3/hns3_mp.h