Home
last modified time | relevance | path

Searched refs:old_mac (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h63 u8 old_mac[ETH_ALEN]; member
H A Dhinic_sriov.c535 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 Docteon-platform.c567 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 Drvu_npc_hash.c1395 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/include/linux/
H A Dskbuff.h3075 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild() local
3078 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()
3089 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild_full() local
3092 memmove(skb_mac_header(skb), old_mac, full_mac_len); in skb_mac_header_rebuild_full()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c5961 u8 old_mac[ETH_ALEN]; in ice_set_mac_address() local
5985 ether_addr_copy(old_mac, netdev->dev_addr); in ice_set_mac_address()
5991 err = ice_fltr_remove_mac(vsi, old_mac, ICE_FWD_TO_VSI); in ice_set_mac_address()
6018 eth_hw_addr_set(netdev, old_mac); in ice_set_mac_address()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3867 u8 old_mac[ETH_ALEN]; in be_cmd_set_mac() local
3871 status = be_cmd_get_mac_from_list(adapter, old_mac, &active_mac, in be_cmd_set_mac()