Searched refs:mac_addr_temp (Results 1 – 1 of 1) sorted by relevance
5142 u8 mac_addr_temp[ETH_ALEN] = {0}; in hns3_init_mac_addr() local5146 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()