Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp264745lqp; Wed, 12 Jun 2024 00:16:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4bcRTeHVZrcYerD4VBgL7tmHNnmm/vPGyTVGJyhHqzbV2ibOLzcS85ri1C9ZhtB3EhLMQ9RH7t+0uodQh0NK2dOu6P3u1FARQ9GK5Qw== X-Google-Smtp-Source: AGHT+IGOwFy9fNDfCaCl7QjhjuFVtZRD5K4RG5cdddamAOpZwFKoJJN8GPSayJAq1Bck3qb4mvVD X-Received: by 2002:a05:6358:706:b0:19f:2d30:8e08 with SMTP id e5c5f4694b2df-19f69d885cfmr130344055d.27.1718176564815; Wed, 12 Jun 2024 00:16:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718176564; cv=pass; d=google.com; s=arc-20160816; b=09Co9ig0Gqi+A00Pab+awBSsvCgGQoC3dUsJOVn6TNMdAqX6QyEygoXqJy71y37RBr v5h3hUN0OQELPDMxeYTCbhUvh9hzSn9rNDwzTO9+1HIXk68ohVZLgGd4S5KAmN9bKheW FsN13vZ8g/4GYsTbJIxkyK+wn75zcLYxI9Y1QSv9G3NDW5LT0xoJQXJn2FC1oQZ2A7ws XWES/DzsHXR4E3npqk9h14oojHr9iAN5ldJvlNRqB4x35vse/cyNf4GwcU6uLugASlLi P+slW7EiLqOWOCKrdTpX9gmtMR/tPp0iYOh/30Gbc4oEJ127RfU9FRmQmJtL0e9vwYXV mmMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kRPQpXge3I0Vcd7b2iojqZfH1RINuN+3D+5eFcM1E+A=; fh=Aivy49MpfuMC4y9TgN+MZv15vm91aUUd0x/X64JlJlU=; b=scGB+QmDdmBoqROaALDUbMphNG+uEVwEY9i2GXYdxU5cKpq1D19SYdQwujQW101GAo YnCrHICWB8iiN+FPk14wStzZ7V/S2F6axTDRstmKTIl8BeLfqYLejs6Jv6QugSEHy/fx B6ryeoXPe4M0bFNvWACwdfF950E7st7Mb3UOOc0m0v1O3VDLWzGijbjB7f1co+rR/8+s H7oxfLLzz3r7XSUaNKKudvzMMONlZbo2KDKmVMQNW+iY3TfIkTnINLhdGrVVlKl1K78M EROAOEgJN1OAjSaB8sp0iqNf/8oo3yryh6qwcGEYmT1AkW56yipya4Qpjrvsv3wxTju2 piRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UzwRu+MR; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-211047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fc1a5ee7d5si143357a12.219.2024.06.12.00.16.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:16:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UzwRu+MR; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-211047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 63638284F96 for ; Wed, 12 Jun 2024 07:16:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB0665B1FB; Wed, 12 Jun 2024 07:15:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UzwRu+MR" 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 9B01928399 for ; Wed, 12 Jun 2024 07:15:53 +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=1718176555; cv=none; b=I+iDmSqoSpe4auRWQRk0Ql5xF2ba6yhuQr4jmu2z6ZPEzfoqZSjoxd7LiVvhIikrLm8rTAEZgEo1hhAvp1CSVjXif2weIiuJfg2b1Xr4eRsV5i36j6BC6MpnlxKyLdqDmpdXvgA27Dub5hRPauLH08DZpkaUX6qyqmSq4g7k/L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718176555; c=relaxed/simple; bh=+ykbfSP9QE6LjsxeHl6HZt6oWo4XQ54KD3PrDqCfUic=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jPkwZsoI4h05M2bTVBl2Y8LaujPaASDZyDFa7ytS8UqGbfSG1jYsiiImaQJw8YEQQsGQ1HG+LSfWBLEFs1ZKdHTDkYXIiYmODu6+A2WqCvmG59teOf5rSUXuWkg4PJQ+tLumpeMOAUJh1aOYqUjfXlJRM3gr81Lrm/nnag3hauQ= 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=UzwRu+MR; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718176552; 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=kRPQpXge3I0Vcd7b2iojqZfH1RINuN+3D+5eFcM1E+A=; b=UzwRu+MRIjiIizxRMp5OqewHhA2+CyagLqf5Fp2YzIfw0eSKM4qSDE/N9yMWrYNJIye4Sr m+DbHmm9kHNONNxRIQaoFGOCgUvAkqBjIljryal99TRSeBtpY0y1cDgEi81xR5+q2vPe6Y DkTMbt8APsCFp7+6RxHIf2ALmwyfK80= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-MPisvdV5MUez0E_oJj-ZhQ-1; Wed, 12 Jun 2024 03:15:51 -0400 X-MC-Unique: MPisvdV5MUez0E_oJj-ZhQ-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-35f1ddd8a47so1873202f8f.3 for ; Wed, 12 Jun 2024 00:15:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718176549; x=1718781349; 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=kRPQpXge3I0Vcd7b2iojqZfH1RINuN+3D+5eFcM1E+A=; b=Zmc1DHYqvmQwIVYaHTx+20uVPKXT1P28slpOM+/fpeKw01HD9beMMA8t9St31FCNVH zG8bt1tHqJWhr7iOeeFucD7saKTFs2NK5rOY/XYyXIeDhCp5ubhXd00Q+UXZnCOLPNt4 KGA4cxbqbhzzzenYZD3PPvyPVFwXbcZnpH+UsVp/30spaNYYHCg3zKoZoCOscivHl3iW pgkk1eqvEmA/MlvM/id3me/3XRE5aYsfYTCpivI3FXMhfv1rqXIXFkpiQtyDMgioXIGm X/24QqTpv1S5DjRyKJ/828d218vg/7TzNe1hgMNnUDAALi+H4nxqNd2WQVUi0xqZGTOW 4xgQ== X-Forwarded-Encrypted: i=1; AJvYcCV7bREj+g+HA+7gaBv7vluMh0kUGpqSKTL2RNp682zCsMtaKwXh8KpTJc6LBR8/CPGnAsVD0cwLYKLc62EWeZHzHsHtVQXYwLP0zEzb X-Gm-Message-State: AOJu0YwJBmqvwzgUCxJPh5QCezOPWJrHjnDRmCzZKvUG+CcFiVWjpCg+ Q5PaLf9y3Up9LFEcuVUf4RjSRjXZHPHf9Tm1IbFvu9B6iQ5PYkP8cSlBEnlYidAoGSwtVyuulKF g6dAAq/RC8N3dRo8dQa+mFhuqRZuDBQfLwUFGEUG31chdzJWfwYx1wcKCq6AtLI2sFKLYUA== X-Received: by 2002:a5d:5288:0:b0:35f:18ad:bccb with SMTP id ffacd0b85a97d-35fe1bfda3fmr603593f8f.35.1718176548721; Wed, 12 Jun 2024 00:15:48 -0700 (PDT) X-Received: by 2002:a5d:5288:0:b0:35f:18ad:bccb with SMTP id ffacd0b85a97d-35fe1bfda3fmr603573f8f.35.1718176548189; Wed, 12 Jun 2024 00:15:48 -0700 (PDT) Received: from redhat.com ([2a02:14f:178:39eb:4161:d39d:43e6:41f8]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35f23a651d4sm7641411f8f.50.2024.06.12.00.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:15:47 -0700 (PDT) Date: Wed, 12 Jun 2024 03:15:44 -0400 From: "Michael S. Tsirkin" To: Jiri Pirko Cc: Jakub Kicinski , Cindy Lu , dtatulea@nvidia.com, jasowang@redhat.com, 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: <20240612031356-mutt-send-email-mst@kernel.org> References: <20240611053239.516996-1-lulu@redhat.com> <20240611185810.14b63d7d@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@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: On Wed, Jun 12, 2024 at 08:29:53AM +0200, Jiri Pirko wrote: > Wed, Jun 12, 2024 at 03:58:10AM CEST, kuba@kernel.org wrote: > >On Tue, 11 Jun 2024 13:32:32 +0800 Cindy Lu wrote: > >> Add new UAPI to support the mac address from vdpa tool > >> Function vdpa_nl_cmd_dev_config_set_doit() will get the > >> MAC address from the vdpa tool and then set it to the device. > >> > >> The usage is: vdpa dev set name vdpa_name mac **:**:**:**:**:** > > > >Why don't you use devlink? > > Fair question. Why does vdpa-specific uapi even exist? To have > driver-specific uapi Does not make any sense to me :/ I am not sure which uapi do you refer to? The one this patch proposes or the existing one? -- MST