commit | 0e02a53d64b470b96739189c015f6d9225c11587 | [log] [tgz] |
---|---|---|
author | Guojia Liao <liaoguojia@huawei.com> | Sat Oct 19 16:03:50 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 21 09:22:09 2019 -0700 |
tree | c757a7ed275a6271a4eca4b7a457b2ab1a402684 | |
parent | 5f06b903cb0b85194e66675267b565d40a22026c [diff] |
net: hns3: optimized MAC address in management table. mac_addr_hi32 and mac_addr_lo16 are used to store the MAC address for management table. But using array of mac_addr[ETH_ALEN] would be more general and not need to care about the big-endian mode of the CPU. Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>