Searched refs:new_mac (Results 1 – 11 of 11) sorted by relevance
| /linux/arch/mips/cavium-octeon/ |
| A D | octeon-platform.c | 565 u8 new_mac[6]; in octeon_fdt_set_mac_addr() local 574 new_mac[0] = (mac >> 40) & 0xff; in octeon_fdt_set_mac_addr() 575 new_mac[1] = (mac >> 32) & 0xff; in octeon_fdt_set_mac_addr() 576 new_mac[2] = (mac >> 24) & 0xff; in octeon_fdt_set_mac_addr() 577 new_mac[3] = (mac >> 16) & 0xff; in octeon_fdt_set_mac_addr() 578 new_mac[4] = (mac >> 8) & 0xff; in octeon_fdt_set_mac_addr() 579 new_mac[5] = mac & 0xff; in octeon_fdt_set_mac_addr() 582 new_mac, sizeof(new_mac)); in octeon_fdt_set_mac_addr()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_sriov.c | 921 u8 *new_mac = ((u8 *)(&msgbuf[1])); in ixgbe_set_vf_mac_addr() local 923 if (!is_valid_ether_addr(new_mac)) { in ixgbe_set_vf_mac_addr() 929 !ether_addr_equal(adapter->vfinfo[vf].vf_mac_addresses, new_mac)) { in ixgbe_set_vf_mac_addr() 937 return ixgbe_set_vf_mac(adapter, vf, new_mac) < 0; in ixgbe_set_vf_mac_addr() 965 u8 *new_mac = ((u8 *)(&msgbuf[1])); in ixgbe_set_vf_macvlan_msg() local 980 if (!is_valid_ether_addr(new_mac)) { in ixgbe_set_vf_macvlan_msg() 997 err = ixgbe_set_vf_macvlan(adapter, vf, index, new_mac); in ixgbe_set_vf_macvlan_msg()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_netdev.c | 722 memcpy(entry->mac, new_mac, ETH_ALEN); in mlx4_en_replace_mac() 724 mac_hash = new_mac[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_replace_mac() 728 err = mlx4_en_uc_steer_add(priv, new_mac, in mlx4_en_replace_mac() 749 unsigned char new_mac[ETH_ALEN + 2]) in mlx4_en_update_user_mac() 760 new_mac, priv->port, err); in mlx4_en_update_user_mac() 764 unsigned char new_mac[ETH_ALEN + 2]) in mlx4_en_do_set_mac() 771 new_mac, priv->current_mac); in mlx4_en_do_set_mac() 788 unsigned char new_mac[ETH_ALEN + 2]; in mlx4_en_set_mac() local 795 memcpy(new_mac, saddr->sa_data, ETH_ALEN); in mlx4_en_set_mac() 796 err = mlx4_en_do_set_mac(priv, new_mac); in mlx4_en_set_mac() [all …]
|
| A D | port.c | 474 int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac) in __mlx4_replace_mac() argument 501 table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); in __mlx4_replace_mac() 506 (unsigned long long) new_mac); in __mlx4_replace_mac() 510 dup_table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); in __mlx4_replace_mac() 515 (unsigned long long)new_mac); in __mlx4_replace_mac()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_sriov.h | 65 u8 new_mac[ETH_ALEN]; member
|
| A D | hinic_main.c | 651 unsigned char new_mac[ETH_ALEN]; in hinic_set_mac_addr() local 655 memcpy(new_mac, saddr->sa_data, ETH_ALEN); in hinic_set_mac_addr() 657 err = change_mac_addr(netdev, new_mac); in hinic_set_mac_addr() 659 eth_hw_addr_set(netdev, new_mac); in hinic_set_mac_addr()
|
| A D | hinic_sriov.c | 517 u8 *new_mac, u16 vlan_id, u16 func_id) in hinic_update_mac() argument 523 if (!hwdev || !old_mac || !new_mac) in hinic_update_mac() 535 memcpy(mac_info.new_mac, new_mac, ETH_ALEN); in hinic_update_mac()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| A D | main.c | 967 u8 *new_mac) in mwifiex_set_mac_address() argument 975 mac_addr = ether_addr_to_u64(new_mac); in mwifiex_set_mac_address()
|
| A D | main.h | 1706 bool external, u8 *new_mac);
|
| /linux/include/linux/mlx4/ |
| A D | device.h | 1381 int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac);
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_router.c | 8474 const char *new_mac) in mlxsw_sp_rif_mac_profile_edit() argument 8484 ether_addr_copy(profile->mac_prefix, new_mac); in mlxsw_sp_rif_mac_profile_edit() 8491 const char *new_mac, in mlxsw_sp_rif_mac_profile_replace() argument 8498 !mlxsw_sp_rif_mac_profile_find(mlxsw_sp, new_mac)) in mlxsw_sp_rif_mac_profile_replace() 8499 return mlxsw_sp_rif_mac_profile_edit(rif, new_mac); in mlxsw_sp_rif_mac_profile_replace() 8501 err = mlxsw_sp_rif_mac_profile_get(mlxsw_sp, new_mac, in mlxsw_sp_rif_mac_profile_replace()
|
Completed in 77 milliseconds