net: hns3: optimized the mac addr in management table.
driver inclusion category: bugfix bugzilla: NA CVE: NA Now we using two parameters, mac_addr_hi32 and mac_addr_lo16, to store the MAC address for management table. But using array of mac_addr[ETH_ALEN] would be more General and need'nt to care about the Big-endian mode in cpu. Feature or Bugfix:Bugfix Signed-off-by: Nliaoguojia <liaoguojia@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录