summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-06-01 17:52:04 +0100
committerDavid S. Miller <davem@davemloft.net>2018-06-01 14:23:56 -0400
commitc7fc8fb6193428e107a4d51333c158bdc226b26c (patch)
treec421cc32c7d540a2552628946c611639421887a8 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
parent5ec2a51ef8e2cb1fd1f04a8a7170001ab94d36fe (diff)
downloadlinux-c7fc8fb6193428e107a4d51333c158bdc226b26c.tar.bz2
net: hns3: Fix setting mac address error
When doing function reset or insmod hns3 dirver after rmmod, the entries of mac vlan table are not cleared, which may cause init mac address failed. This patch fixes it by clearing the old mac address when doing function reset or rmmod hns3 driver. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c')
0 files changed, 0 insertions, 0 deletions