Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/sun/
Dsunvnet.c284 static struct vnet *vnet_new(const u64 *local_mac, in vnet_new() argument
298 dev->dev_addr[i] = (*local_mac >> (5 - i) * 8) & 0xff; in vnet_new()
309 vp->local_mac = *local_mac; in vnet_new()
343 static struct vnet *vnet_find_or_create(const u64 *local_mac, in vnet_find_or_create() argument
351 if (iter->local_mac == *local_mac) { in vnet_find_or_create()
357 vp = vnet_new(local_mac, vdev); in vnet_find_or_create()
387 const u64 *local_mac = NULL; in vnet_find_parent() local
398 local_mac = mdesc_get_property(hp, target, in vnet_find_parent()
400 if (local_mac) in vnet_find_parent()
403 if (!local_mac) in vnet_find_parent()
[all …]
Dldmvsw.c173 const u64 *local_mac = NULL; in vsw_get_vnet() local
186 local_mac = mdesc_get_property(hp, target, in vsw_get_vnet()
192 if (!local_mac || !cfghandle) in vsw_get_vnet()
199 if (iter->local_mac == *local_mac) { in vsw_get_vnet()
215 vp->local_mac = *local_mac; in vsw_get_vnet()
Dsunvnet_common.h124 u64 local_mac; member
Dniu.h2991 u8 local_mac[6]; member
Dniu.c8123 prop_buf = np->vpd.local_mac; in niu_pci_vpd_scan_props()
8313 if (!is_valid_ether_addr(&vpd->local_mac[0])) { in niu_pci_vpd_validate()
8343 memcpy(dev->dev_addr, vpd->local_mac, ETH_ALEN); in niu_pci_vpd_validate()
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c63 u8 local_mac[6]; member
327 p = (u16 *)p_conn->local_mac; in qed_sp_iscsi_conn_offload()
399 p = (u16 *)p_conn->local_mac; in qed_sp_iscsi_conn_offload()
1222 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
/Linux-v5.10/Documentation/networking/
Dnetconsole.rst133 local_mac Local interface's MAC address (read-only)
/Linux-v5.10/drivers/net/
Dnetconsole.c578 CONFIGFS_ATTR_RO(, local_mac);