Searched refs:new_mac (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 751 u8 *new_mac = ((u8 *)(&msgbuf[1])); in ixgbe_set_vf_mac_addr() local 753 if (!is_valid_ether_addr(new_mac)) { in ixgbe_set_vf_mac_addr() 759 memcmp(adapter->vfinfo[vf].vf_mac_addresses, new_mac, in ixgbe_set_vf_mac_addr() 768 return ixgbe_set_vf_mac(adapter, vf, new_mac) < 0; in ixgbe_set_vf_mac_addr() 803 u8 *new_mac = ((u8 *)(&msgbuf[1])); in ixgbe_set_vf_macvlan_msg() local 817 if (!is_valid_ether_addr(new_mac)) { in ixgbe_set_vf_macvlan_msg() 830 err = ixgbe_set_vf_macvlan(adapter, vf, index, new_mac); in ixgbe_set_vf_macvlan_msg()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 245 int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac) in __mlx4_replace_mac() argument 259 table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); in __mlx4_replace_mac() 264 (unsigned long long) new_mac); in __mlx4_replace_mac()
|
D | en_netdev.c | 606 unsigned char *new_mac, unsigned char *prev_mac) in mlx4_en_replace_mac() argument 611 u64 new_mac_u64 = mlx4_en_mac_to_u64(new_mac); in mlx4_en_replace_mac() 629 memcpy(entry->mac, new_mac, ETH_ALEN); in mlx4_en_replace_mac() 631 mac_hash = new_mac[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_replace_mac() 635 err = mlx4_en_uc_steer_add(priv, new_mac, in mlx4_en_replace_mac()
|
/drivers/staging/et131x/ |
D | et131x.c | 4694 static int et131x_set_mac_addr(struct net_device *netdev, void *new_mac) in et131x_set_mac_addr() argument 4698 struct sockaddr *address = new_mac; in et131x_set_mac_addr()
|