Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/sun/
Dsunvnet.c284 static struct vnet *vnet_new(const u64 *local_mac, in vnet_new() argument
299 addr[i] = (*local_mac >> (5 - i) * 8) & 0xff; in vnet_new()
311 vp->local_mac = *local_mac; in vnet_new()
345 static struct vnet *vnet_find_or_create(const u64 *local_mac, in vnet_find_or_create() argument
353 if (iter->local_mac == *local_mac) { in vnet_find_or_create()
359 vp = vnet_new(local_mac, vdev); in vnet_find_or_create()
389 const u64 *local_mac = NULL; in vnet_find_parent() local
400 local_mac = mdesc_get_property(hp, target, in vnet_find_parent()
402 if (local_mac) in vnet_find_parent()
405 if (!local_mac) in vnet_find_parent()
[all …]
Dldmvsw.c172 const u64 *local_mac = NULL; in vsw_get_vnet() local
185 local_mac = mdesc_get_property(hp, target, in vsw_get_vnet()
191 if (!local_mac || !cfghandle) in vsw_get_vnet()
198 if (iter->local_mac == *local_mac) { in vsw_get_vnet()
214 vp->local_mac = *local_mac; in vsw_get_vnet()
Dsunvnet_common.h124 u64 local_mac; member
Dniu.h2991 u8 local_mac[6]; member
Dniu.c8139 prop_buf = np->vpd.local_mac; in niu_pci_vpd_scan_props()
8336 if (!is_valid_ether_addr(&vpd->local_mac[0])) { in niu_pci_vpd_validate()
8366 ether_addr_copy(addr, vpd->local_mac); in niu_pci_vpd_validate()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_main.c68 u64 local_mac; in mlxbf_gige_initial_mac() local
72 &local_mac); in mlxbf_gige_initial_mac()
73 u64_to_ether_addr(local_mac, mac); in mlxbf_gige_initial_mac()
84 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
86 local_mac); in mlxbf_gige_initial_mac()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.h54 u8 local_mac[6]; member
Dqed_iscsi.c64 u8 local_mac[6]; member
328 p = (u16 *)p_conn->local_mac; in qed_sp_iscsi_conn_offload()
400 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()
Dqed_nvmetcp.c325 &p_tcp->local_mac_addr_lo, p_conn->local_mac); in qed_sp_nvmetcp_conn_offload()
686 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_nvmetcp_offload_conn()
/linux-6.6.21/Documentation/networking/
Dnetconsole.rst137 local_mac Local interface's MAC address (read-only)
/linux-6.6.21/drivers/net/
Dnetconsole.c641 CONFIGFS_ATTR_RO(, local_mac);