linux-stable/drivers/net/ethernet/hisilicon/hns3
Jian Shen c7fc8fb619 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: 76ad4f0ee7 ("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>
2018-06-01 14:23:56 -04:00
..
hns3pf net: hns3: Add support for IFF_ALLMULTI flag 2018-06-01 14:23:55 -04:00
hns3vf net: hns3: Add support for IFF_ALLMULTI flag 2018-06-01 14:23:55 -04:00
hclge_mbx.h net: hns3: Add *Asserting Reset* mailbox message & handling in VF 2018-03-22 15:29:04 -04:00
hnae3.c net: hns3: Fixes the state to indicate client-type initialization 2018-05-29 00:04:26 -04:00
hnae3.h net: hns3: Add support for IFF_ALLMULTI flag 2018-06-01 14:23:55 -04:00
hns3_dcbnl.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hns3_enet.c net: hns3: Fix setting mac address error 2018-06-01 14:23:56 -04:00
hns3_enet.h net: hns3: Clear TX/RX rings when stopping port & un-initializing client 2018-05-29 00:04:26 -04:00
hns3_ethtool.c net: hns3: Add support for IFF_ALLMULTI flag 2018-06-01 14:23:55 -04:00
Makefile net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00