| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_sriov.h | 63 u8 old_mac[ETH_ALEN]; member
|
| H A D | hinic_sriov.c | 535 static int hinic_update_mac(struct hinic_hwdev *hwdev, u8 *old_mac, in hinic_update_mac() argument 542 if (!hwdev || !old_mac || !new_mac) in hinic_update_mac() 553 memcpy(mac_info.old_mac, old_mac, ETH_ALEN); in hinic_update_mac()
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 567 const u8 *old_mac; in octeon_fdt_set_mac_addr() local 573 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr() 575 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_hash.c | 1395 u8 *old_mac, u8 *new_mac, u32 *seq_id) in rvu_npc_exact_update_table_entry() argument 1413 __func__, cgx_id, lmac_id, old_mac); in rvu_npc_exact_update_table_entry() 1449 __func__, old_mac, new_mac); in rvu_npc_exact_update_table_entry() 1601 u8 old_mac[ETH_ALEN]; in rvu_npc_exact_mac_addr_update() local 1626 ether_addr_copy(old_mac, entry->mac); in rvu_npc_exact_mac_addr_update() 1631 rc = rvu_npc_exact_update_table_entry(rvu, cgx_id, lmac_id, old_mac, in rvu_npc_exact_mac_addr_update()
|
| /linux/net/xfrm/ |
| H A D | xfrm_iptfs.c | 944 const unsigned char *old_mac; in __input_process_payload() local 961 old_mac = skb_mac_header_was_set(skb) ? skb_mac_header(skb) : NULL; in __input_process_payload() 1128 if (old_mac) { in __input_process_payload() 1131 memcpy(skb_mac_header(skb), old_mac, first_skb->mac_len); in __input_process_payload()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 2133 u8 old_mac[ETH_ALEN]; in mlx5_vdpa_change_mac() local 2155 ether_addr_copy(old_mac, ndev->config.mac); in mlx5_vdpa_change_mac() 2161 mac_vlan_del(ndev, old_mac, 0, false); in mlx5_vdpa_change_mac() 2167 if (is_zero_ether_addr(old_mac)) { in mlx5_vdpa_change_mac() 2180 if (mlx5_mpfs_add_mac(pfmdev, old_mac)) { in mlx5_vdpa_change_mac() 2182 old_mac); in mlx5_vdpa_change_mac() 2185 ether_addr_copy(ndev->config.mac, old_mac); in mlx5_vdpa_change_mac()
|
| /linux/include/linux/ |
| H A D | skbuff.h | 3189 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild() local 3192 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild() 3203 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild_full() local 3206 memmove(skb_mac_header(skb), old_mac, full_mac_len); in skb_mac_header_rebuild_full()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 6002 u8 old_mac[ETH_ALEN]; in ice_set_mac_address() local 6026 ether_addr_copy(old_mac, netdev->dev_addr); in ice_set_mac_address() 6032 err = ice_fltr_remove_mac(vsi, old_mac, ICE_FWD_TO_VSI); in ice_set_mac_address() 6059 eth_hw_addr_set(netdev, old_mac); in ice_set_mac_address()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_cmds.c | 3872 u8 old_mac[ETH_ALEN]; in be_cmd_set_mac() local 3876 status = be_cmd_get_mac_from_list(adapter, old_mac, &active_mac, in be_cmd_set_mac()
|