net/hns3: use HW ops to config MAC features
authorHuisong Li <lihuisong@huawei.com>
Fri, 22 Oct 2021 09:20:00 +0000 (17:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 1 Nov 2021 17:31:07 +0000 (18:31 +0100)
commitcc91ec13eb831351e291d682d2e5c841e0dd6888
tree0896fad96d1a7854b538799ca0c0ef236763525e
parentb439aaa0a38dffaba834637eb2867311160de491
net/hns3: use HW ops to config MAC features

This patch uses APIs in hns3_hw_ops to configure MAC related features.

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