Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp155076lqp; Tue, 11 Jun 2024 18:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWim/DzEdBcN0pMFNcDXCv5TvzqWGtEpsm4pp+RAtV9SfOlihRDHa6GIL8glUsy5djsAilvlW2fxtl0Ojs0pfuhGFT07NQETxln+KedSQ== X-Google-Smtp-Source: AGHT+IHGv0g5ZSWVXt18F/oTfBerkn8G3N00/7ci4xTiP6yMny/0R5c4uP1s58uvG/NVy6s29gJL X-Received: by 2002:a05:6a21:3399:b0:1b5:d10b:d1ac with SMTP id adf61e73a8af0-1b8a9b484b8mr734993637.19.1718157510365; Tue, 11 Jun 2024 18:58:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718157510; cv=pass; d=google.com; s=arc-20160816; b=GFUV5y9QZbq+zU2dLG6Ihd5qxjrRyARPyKMcvAqhFNl7eJEB8xUaG9ROz9rC2xQCu4 P4XdXyI6J7MZzHW+1P92qqaUpef+pXDUY8DGQkQE8FaSvyh362j6F6DSh5da2FxhTkLN si6GTy6q3MdUnPemZACLU+clVQNglkyrmqZXIl32uqoXCJCNdu4Ii/or7zsTKQpTVNaY AXnkSfKZ9USHnp6s9dkpDXpO0HMuFPYlT7jO3cDKFnsj6dWKgRKe8obpaVEJPYqpJjzn d7BC1YbCdI2FxxiLvI/ahRC9O6ffKPyzM1Q48yPYaEq3n04/efa8QGdJ6A+f76iY2UR9 8ExQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=RRMIUSLF5xlGd4pBM1Vd9PQ7dCtAUCD6nCFnc/dv/o4=; fh=rSgl0H6XxzEtKqOvu/xdg8evxQzKvxGCpfH8Vc4wTJc=; b=HMYSJAAe4659RqEdxT9bjpiCGx1TtAUdUkL14Sun/PqDW+ISd0aby+lWfbDWIrO0zH MGPBqOug4lmO+9HtP+nXmw78CTVqD6lqOdxMkkVXGv1onn3WzvSeX5wHGpIhtH4FU1+8 KgHFhAtXEI7Rf+Cg1OovKtAn1WE/NvvAUo4iCxF0sqJfGjm7+8E9sVSuBuOTyJED2/6o OPTtkU0BCFH43p6o7fNZq9ylNJG0XBdY6DiEF1AjXno9yAvrcgKQaZr+QDgzUyz5xa5w P26VOcSuMflSVa0JnKDceCZ3iX7eaAGlqi4djd2R16PNiXbROGWxPGwpZKRmwc928L3F DCVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lZBjx/gT"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210787-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de27609acasi10154246a12.532.2024.06.11.18.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 18:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210787-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lZBjx/gT"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210787-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 12D3BB21F95 for ; Wed, 12 Jun 2024 01:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91C148BFD; Wed, 12 Jun 2024 01:58:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lZBjx/gT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AC388E566; Wed, 12 Jun 2024 01:58:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718157492; cv=none; b=h3O6thv2YYoEV32LcAzRwAOBIDvHc+BYwoAnZnQpKlEtnzTHCRTOUuYbhQWZy/PkDvhSOk2uRH4SfJNxyoLGoJE7cvn8ubR7K9Y0jsxfvUbjjFy+pIO6MewbZFJb2PIkrvFs0akaBsnb77YYEY7W0hd6ANvOzTZJbOWnR07ZDhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718157492; c=relaxed/simple; bh=2bnaKdaynOx054pD82xWQVJDxU3JbEDxOintaWbN69s=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=I7lVTl+3cB7SVH+H3nwLAM0Df2A2jMENf8DbbGAb3WmQnkKnNLjxR8zPLqiyLta7xHRqF1dCteb92cJosWjd+2/qALQ9EYYwRIbaXhckcqL2aZr6YngfajUJWjqPLErYX6uWT5GhItFBUUZRbIdJNmYqU4tpBWLuUoWkwYmxm28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lZBjx/gT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA76CC2BD10; Wed, 12 Jun 2024 01:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718157492; bh=2bnaKdaynOx054pD82xWQVJDxU3JbEDxOintaWbN69s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lZBjx/gTHx9YKarrC8CvdwhFfBSzSxbGQip/VEVCmFRnPMWL635PuFcqkRgZJA9o6 xZt7O0tH6JvN+axGo9BD/RG9hdsVMnU4LIFc4+xp7Ya8f0w1c0nBs8uZKeBw1hO/KQ vZBW6OXTQJRrdu460dZ/Y962uISetM+gYupq07A1+LUPoknCQpDPfUVzf2Ox9wrJQw rDpj0uFoREv52sd8+/s+OuX/fhgl06Hz5XPS8pqM2wBb4jUAtvtwn5wuRNQS66+L1Z cce51eJM25kJNW3YFSk/LpEy+Unmn9KR3ouo4JZK4MdCTgyrvb/JL2gFXBVx6jdpaK Gb6qbKG2XLlRg== Date: Tue, 11 Jun 2024 18:58:10 -0700 From: Jakub Kicinski To: Cindy Lu Cc: dtatulea@nvidia.com, mst@redhat.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: <20240611185810.14b63d7d@kernel.org> In-Reply-To: <20240611053239.516996-1-lulu@redhat.com> References: <20240611053239.516996-1-lulu@redhat.com> 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-Transfer-Encoding: 7bit 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?