Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dvmxnet3_defs.h129 MACAddr perm_mac; member
H A Dspapr_llan.c102 MACAddr perm_mac; member
314 memcpy(&dev->nicconf.macaddr.a, &dev->perm_mac.a, in spapr_vlan_reset()
325 memcpy(&dev->perm_mac.a, &dev->nicconf.macaddr.a, sizeof(dev->perm_mac.a)); in spapr_vlan_realize()
H A Dvmxnet3.c1154 memcpy(&s->conf.macaddr.a, &s->perm_mac.a, sizeof(s->perm_mac.a)); in vmxnet3_reset_mac()
1695 ret = vmxnet3_get_mac_low(&s->perm_mac); in vmxnet3_get_command_status()
1699 ret = vmxnet3_get_mac_high(&s->perm_mac); in vmxnet3_get_command_status()
2069 memcpy(&s->perm_mac.a, &s->conf.macaddr.a, sizeof(s->perm_mac.a)); in vmxnet3_net_init()
2076 VMW_CFPRN("Permanent MAC: " MAC_FMT, MAC_ARG(s->perm_mac.a)); in vmxnet3_net_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c183 u8 *perm_mac; in mlx5_modify_nic_vport_mac_address() local
196 perm_mac = MLX5_ADDR_OF(nic_vport_context, nic_vport_ctx, in mlx5_modify_nic_vport_mac_address()
199 ether_addr_copy(&perm_mac[2], addr); in mlx5_modify_nic_vport_mac_address()