net/hns3: add HW ops structure to operate hardware
authorHuisong Li <lihuisong@huawei.com>
Fri, 22 Oct 2021 09:19:59 +0000 (17:19 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 1 Nov 2021 17:31:07 +0000 (18:31 +0100)
commitb439aaa0a38dffaba834637eb2867311160de491
tree7ad3d0d521b3b5947d4c90a8fabded60a2c212fa
parent45a6c15dd5638d47396c0e39356b981c62b9af74
net/hns3: add HW ops structure to operate hardware

This patch adds hns3_hw_ops structure to operate hardware in PF and VF
driver.

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.h
drivers/net/hns3/hns3_ethdev_vf.c