Home
last modified time | relevance | path

Searched refs:mac_addr_temp (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c3930 u8 mac_addr_temp[ETH_ALEN]; in hns3_init_mac_addr() local
3934 h->ae_algo->ops->get_mac_addr(h, mac_addr_temp); in hns3_init_mac_addr()
3937 if (!is_valid_ether_addr(mac_addr_temp)) { in hns3_init_mac_addr()
3941 } else if (!ether_addr_equal(netdev->dev_addr, mac_addr_temp)) { in hns3_init_mac_addr()
3942 ether_addr_copy(netdev->dev_addr, mac_addr_temp); in hns3_init_mac_addr()
3943 ether_addr_copy(netdev->perm_addr, mac_addr_temp); in hns3_init_mac_addr()