Lines Matching refs:new_mac
696 unsigned char *new_mac, unsigned char *prev_mac) in mlx4_en_replace_mac() argument
701 u64 new_mac_u64 = mlx4_mac_to_u64(new_mac); in mlx4_en_replace_mac()
719 memcpy(entry->mac, new_mac, ETH_ALEN); in mlx4_en_replace_mac()
721 mac_hash = new_mac[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_replace_mac()
725 err = mlx4_en_uc_steer_add(priv, new_mac, in mlx4_en_replace_mac()
734 err = mlx4_en_tunnel_steer_add(priv, new_mac, qpn, in mlx4_en_replace_mac()
746 unsigned char new_mac[ETH_ALEN + 2]) in mlx4_en_update_user_mac()
754 err = mlx4_SET_PORT_user_mac(mdev->dev, priv->port, new_mac); in mlx4_en_update_user_mac()
757 new_mac, priv->port, err); in mlx4_en_update_user_mac()
761 unsigned char new_mac[ETH_ALEN + 2]) in mlx4_en_do_set_mac()
768 new_mac, priv->current_mac); in mlx4_en_do_set_mac()
775 memcpy(priv->current_mac, new_mac, sizeof(priv->current_mac)); in mlx4_en_do_set_mac()
785 unsigned char new_mac[ETH_ALEN + 2]; in mlx4_en_set_mac() local
792 memcpy(new_mac, saddr->sa_data, ETH_ALEN); in mlx4_en_set_mac()
793 err = mlx4_en_do_set_mac(priv, new_mac); in mlx4_en_set_mac()
798 mlx4_en_update_user_mac(priv, new_mac); in mlx4_en_set_mac()