net: hns3: Add repeat address checking for setting mac address
authorJian Shen <shenjian15@huawei.com>
Fri, 1 Jun 2018 16:52:03 +0000 (17:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:23:55 +0000 (14:23 -0400)
commit5ec2a51ef8e2cb1fd1f04a8a7170001ab94d36fe
treefec4ef578171508058d5666fe7358f37c8b99dca
parent3b75c3df599d0068b382ef1f22396dc5d48c5a74
net: hns3: Add repeat address checking for setting mac address

Add checking for new mac address. It doesn't need to config
the mac vlan table if it's already in use.

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>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c