net: hns3: format the output of the MAC address
authorYufeng Mo <moyufeng@huawei.com>
Wed, 24 Nov 2021 01:06:52 +0000 (09:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2021 14:12:26 +0000 (14:12 +0000)
commit4f331fda35f1695af8ddd8180edc948880def74b
tree9e015cc0fbbeeec7ee9405dc00935cb3b20f9b29
parentd9069dab207534d9f6f41993ee78a651733becea
net: hns3: format the output of the MAC address

Printing the whole MAC addresse may bring security risks. Therefore,
the MAC address is partially encrypted to improve security.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c