Lines Matching refs:local_mac
285 static struct vnet *vnet_new(const u64 *local_mac, in vnet_new() argument
299 dev->dev_addr[i] = (*local_mac >> (5 - i) * 8) & 0xff; in vnet_new()
310 vp->local_mac = *local_mac; in vnet_new()
344 static struct vnet *vnet_find_or_create(const u64 *local_mac, in vnet_find_or_create() argument
352 if (iter->local_mac == *local_mac) { in vnet_find_or_create()
358 vp = vnet_new(local_mac, vdev); in vnet_find_or_create()
388 const u64 *local_mac = NULL; in vnet_find_parent() local
399 local_mac = mdesc_get_property(hp, target, in vnet_find_parent()
401 if (local_mac) in vnet_find_parent()
404 if (!local_mac) in vnet_find_parent()
407 return vnet_find_or_create(local_mac, vdev); in vnet_find_parent()