From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21B4B79E5 for ; Mon, 17 Jun 2024 16:20:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718641229; cv=none; b=QFsXYQc/Sn0Y+Yx/Yrb72E1hjwCO/nnuswUYvYtOthaLeg8HcKSl0FDww8/XefoqUiEj46tjhCxfnAhL4hL+XXeesdlCMGY9My+eL07NhCalslzu3Jxm2BcaSNdwovBP3vDlue4GY+lM8/XwhRImf8eWF5JW5uaKatwhlmm+Hxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718641229; c=relaxed/simple; bh=1YMKriBvPLE/aY5scq43G0zWcXPtBM3EQFqBpiwdFiM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WscX7n2U0XF4ftXgs+JDg/8uxrG9apN0Uh4g6Jq7lk3pgQE32gldeo8Lbqdyl4tyXAovaOr8TkVjf2CG6aKO2vABPZhTIfIW/gY4W0ZxfLrGDUbXGjtMqLq24nxCmJw1q+M96D4VVntv1AJzLo5U7M0iFcBLeQq4pDMAkVRhzaw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ITz8R4jh; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ITz8R4jh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718641227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IQRV2hrWRZz2oGiqD2uRSCHZ36VaQn0Ap0e/dg5aYkA=; b=ITz8R4jhxuUj/44sC6IR7AzAUGz6FbybDCr57UoUEmtxVrUEvcUPdWSUtJeuOXbcYfdNQ6 ajICeAEbXA6r2+HBPGdiaUS08yShTPn92IaIBwLLR4Fkuiu2N5bK+bNnKWXI/EIEkILyvE PWWpdW+0ZqYWoVucNK6oZc2Yjft925U= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-112-joflXjrjPpWrrX746ft19A-1; Mon, 17 Jun 2024 12:20:25 -0400 X-MC-Unique: joflXjrjPpWrrX746ft19A-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-421e17ae038so33189415e9.0 for ; Mon, 17 Jun 2024 09:20:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718641224; x=1719246024; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IQRV2hrWRZz2oGiqD2uRSCHZ36VaQn0Ap0e/dg5aYkA=; b=rULWphgBqYTzU15khd7/hJJHL27RsVkfk1ABzNKB6sMNT1Zl3RwlPJizvH1+MWuiVN AWeSV6Qahg2gZmH7GDel3goXGRIi1lN7NoLdHOh/u32boBguc4a5ENayHc05yAfN/BPp e3KG69oa2Lwairg4Y/QBBcbu1sCpG7mHWgyY5h9XTm32dcouqNDwsOT/y4SlDjmD+Gh8 npAUSuuNf5r/4q/0uU/JjJA1nNQa8z1FFPTbcU5JcMI+pATULHlNRY9Q8zuSkqCqD1nK 5Wgu2G8aFy1TFGIvhyMRJCAjPtzFR5SdVyj/JPGjqWmPKm/wr4p4njM/NpxRNj0AvRtD jHEg== X-Forwarded-Encrypted: i=1; AJvYcCXVaJzqM+wKmbu4pN9a0SBGShnkOuakOU92rXj56LQ7IX+Q1gLRpO0COm5QSq0t4vfpPyYNllt9S0LT+3uwA4L0wS7IlgoR X-Gm-Message-State: AOJu0Yw0hi303rheZx9jYh0i8DGNh42rFnDLAYquj7IBZd+Rkjk3CM3i UeEHm+IZfWSbWXmq/6PEfN7W7TTIcgG/sDvSLf/nFeNP5i55yqi4H0+QIm/+/6piF4JRBiQmzuR PJaqbe4XGBkTrRcKiMPqmO1xJC0ISFpTp8XAPpk8ehcd9VcOBzJUQMg== X-Received: by 2002:a05:600c:4b23:b0:421:79a1:bd16 with SMTP id 5b1f17b1804b1-423048264f6mr100417075e9.16.1718641224471; Mon, 17 Jun 2024 09:20:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzccSMh+gGntzm0iGboVzC+6fVzzvRfTEWxR0IH3kumTR3OICOIsQlYAnDEfRgmcC5ufh2ZQ== X-Received: by 2002:a05:600c:4b23:b0:421:79a1:bd16 with SMTP id 5b1f17b1804b1-423048264f6mr100416835e9.16.1718641224002; Mon, 17 Jun 2024 09:20:24 -0700 (PDT) Received: from redhat.com ([2a02:14f:17c:d4a1:48dc:2f16:ab1d:e55a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-422d0be1424sm169109495e9.12.2024.06.17.09.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 09:20:23 -0700 (PDT) Date: Mon, 17 Jun 2024 12:20:19 -0400 From: "Michael S. Tsirkin" To: Jakub Kicinski Cc: Jiri Pirko , Parav Pandit , Jason Wang , Cindy Lu , Dragos Tatulea , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "netdev@vger.kernel.org" Subject: Re: [PATCH 1/2] vdpa: support set mac address from vdpa tool Message-ID: <20240617121929-mutt-send-email-mst@kernel.org> References: <20240617094314-mutt-send-email-mst@kernel.org> <20240617082002.3daaf9d4@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240617082002.3daaf9d4@kernel.org> On Mon, Jun 17, 2024 at 08:20:02AM -0700, Jakub Kicinski wrote: > On Mon, 17 Jun 2024 09:47:21 -0400 Michael S. Tsirkin wrote: > > I don't know what this discussion is about, at this point. > > For better or worse, vdpa gained interfaces for provisioning > > new devices. Yes the solution space was wide but it's been there > > for years so kind of too late to try and make people > > move to another interface for that. > > > > Having said that, vdpa interfaces are all built around > > virtio spec. Let's try to stick to that. > > But the virtio spec doesn't allow setting the MAC... > I'm probably just lost in the conversation but there's hypervisor side > and there is user/VM side, each of them already has an interface to set > the MAC. The MAC doesn't matter, but I want to make sure my mental model > matches reality in case we start duplicating too much.. An obvious part of provisioning is specifying the config space of the device. -- MST