]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove check VF uc mac exist when set by PF
authorGuangbin Huang <huangguangbin2@huawei.com>
Wed, 10 Nov 2021 13:42:55 +0000 (21:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Nov 2021 14:20:43 +0000 (14:20 +0000)
commit888a3ea11b580e612859221fb64fb566de8eb31f
tree6cbef8634e9764ecdc6a0502b20b686b64840623
parent593d76f496936c92ab426f39b7ccef04962ad1c0
net: hns3: remove check VF uc mac exist when set by PF

If users set unicast mac address for VFs by PF, they need to guarantee all
VFs' address is different. This patch removes the check mac address exist
of VFs, for usrs can refresh mac addresses of all VFs directly without
need to modify the exist mac address to other value firstly.

Fixes: a7f1a3623bc2 ("net: hns3: add support for configuring VF MAC from the host")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c