net: hns3: add support for configuring VF MAC on the host
driver inclusion
category: Feature
bugzilla: NA
CVE: NA
This patch adds support of configuring VF MAC on the host
for the HNS3 driver.
BTW, the parameter init in the hns3_init_mac_addr is
unnecessary now, since the MAC address will not read from
NCL_CONFIG when doing reset, so it should be removed,
otherwise it will affect VF's MAC address initialization.
Also, removes some unnecessary operations related to
vport MAC in hclge_set_vf_uc_mac_addr
Fixes: 79ea611f5673 ("net: hns3: add the function of setting VF status independently")
Feature or Bugfix:Bugfix
Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
Reviewed-by: Nlipeng <lipeng321@huawei.com>
Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录