Searched refs:old_mac (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.h | 63 u8 old_mac[ETH_ALEN]; member
|
D | hinic_sriov.c | 517 static int hinic_update_mac(struct hinic_hwdev *hwdev, u8 *old_mac, in hinic_update_mac() argument 524 if (!hwdev || !old_mac || !new_mac) in hinic_update_mac() 535 memcpy(mac_info.old_mac, old_mac, ETH_ALEN); in hinic_update_mac()
|
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 566 const u8 *old_mac; in octeon_fdt_set_mac_addr() local 572 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr() 574 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 1355 u8 *old_mac, u8 *new_mac, u32 *seq_id) in rvu_npc_exact_update_table_entry() argument 1373 __func__, cgx_id, lmac_id, old_mac); in rvu_npc_exact_update_table_entry() 1409 __func__, old_mac, new_mac); in rvu_npc_exact_update_table_entry() 1569 u8 old_mac[ETH_ALEN]; in rvu_npc_exact_mac_addr_update() local 1594 ether_addr_copy(old_mac, entry->mac); in rvu_npc_exact_mac_addr_update() 1599 rc = rvu_npc_exact_update_table_entry(rvu, cgx_id, lmac_id, old_mac, in rvu_npc_exact_mac_addr_update()
|
/linux-6.1.9/include/linux/ |
D | skbuff.h | 2898 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild() local 2901 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 5564 u8 old_mac[ETH_ALEN]; in ice_set_mac_address() local 5593 ether_addr_copy(old_mac, netdev->dev_addr); in ice_set_mac_address() 5599 err = ice_fltr_remove_mac(vsi, old_mac, ICE_FWD_TO_VSI); in ice_set_mac_address() 5626 eth_hw_addr_set(netdev, old_mac); in ice_set_mac_address()
|
/linux-6.1.9/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3866 u8 old_mac[ETH_ALEN]; in be_cmd_set_mac() local 3870 status = be_cmd_get_mac_from_list(adapter, old_mac, &active_mac, in be_cmd_set_mac()
|