Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c5142 u8 mac_addr_temp[ETH_ALEN] = {0}; in hns3_init_mac_addr() local
5146 h->ae_algo->ops->get_mac_addr(h, mac_addr_temp); in hns3_init_mac_addr()
5149 if (!is_valid_ether_addr(mac_addr_temp)) { in hns3_init_mac_addr()
5154 } else if (!ether_addr_equal(netdev->dev_addr, mac_addr_temp)) { in hns3_init_mac_addr()
5155 eth_hw_addr_set(netdev, mac_addr_temp); in hns3_init_mac_addr()
5156 ether_addr_copy(netdev->perm_addr, mac_addr_temp); in hns3_init_mac_addr()