Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp216529lqq; Thu, 13 Jun 2024 00:23:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUF4WX7olp6KvspAIYvcqf/58WaltqJRoa5968OrCkV4Su/0pBzRVbBoYm+mFtO7LsBKO5Dbr4n3qy8DtDtHr0TRA61j150EPEVChrWZg== X-Google-Smtp-Source: AGHT+IGy7vSOOWjEF3jnek30b0OxyE60oxaX63uM2N3sGz/32tPxIgserC8PxoyClf2C58olrXaG X-Received: by 2002:a05:6402:3491:b0:57c:b550:fbc9 with SMTP id 4fb4d7f45d1cf-57cb550fd2cmr1441462a12.2.1718263426980; Thu, 13 Jun 2024 00:23:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718263426; cv=pass; d=google.com; s=arc-20160816; b=GsSx4JAGOCwxYfqZSEgtZ7fvAzgkCawNqrCYK8wf7J2XFdTR7Yvu7Q1r6f9qaPc+8c eX7XhLAJvir2QltgVpaILzExy+wqCLUSKpMdvfQI0n/yEC3BwY4ARBm8QkdXkszpZ9P4 zR0H90B2kcos/FLsyGXnxz9PVlU7/F08EBJdKQvft0wQwIRYdyXr0rMxUsnvu4bTirXT ONwrhjMmE1JolDH0cGeI8KAuQtZVf5526uDltwHhMeqNFmqXKY2Nfq170wo86pGkEK4S WBKLy7syfKhlJKUEy8bMyMG9uIJ2R8iWOvFh98x7gKVLh3+fSUqwcDy3rMrp/5uJoAE8 NHiw== 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=nhdTMjtoIXZFugvUtXucLNLZ+wuL3jj/Mf2FujAvEdI=; fh=HWy8wTNJN5y2cPsJSv6zo6gBf2Fv7vphhQAF31wQJrM=; b=bympihg7SqcR7OjC3SJ7PLHVhE0wrBQxwvs1QX7F/tG3hFuneSvFQuwCWBImchaQow oQoPnOV0XxKd0JwZzha0ugLEdAFAnXuf7K87Lqapb//IYMlLxYunpESuZZzMKACiKNcq ecqIod96URwoUEWV8t7sipoVNb/APAHhRFby4vpxGsLMuu1UIBJ7rTJK0UKiwOFU8jdV cxtl3J/OhlI31XzzDKQmaq27of6usxZoRNngzF1EoTqOEjdA+pRhDI/YaFvmhGsy7qDQ bNPDBCcHDe3+J9rqvzKyu8/ulBsKgSG1jCDz8aqhX0MMcgk2k8guYlDa8Xuv4UawUshx Id+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=bt3BZeXR; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-212687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212687-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb72e21adsi439629a12.160.2024.06.13.00.23.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 00:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=bt3BZeXR; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-212687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212687-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id AF9CF1F21A29 for ; Thu, 13 Jun 2024 07:23:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D46F813C682; Thu, 13 Jun 2024 07:21:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="bt3BZeXR" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D3786E612 for ; Thu, 13 Jun 2024 07:21:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718263275; cv=none; b=nEhFBMLbhldS7dAzZsE5EJzcaSXT6ctQbXFMSPTtFnDYMeoZQhFLmMGTuedo2KwATrQwKdM8HCX5LhgfiSI/KSuX9mKPmnq3G9SwYmL/4uWjyJv1fCEj0m6HNf7yD0ZGXELGfQDZX/f+OWMl4jPV9sBczawmLc0c4ZAsCGWcNJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718263275; c=relaxed/simple; bh=l80RjXdZw7gxCEOaUJxc6adU9RUoluvmfgHKiXUbHxU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xepgb3oLll2MO766M9d7VvI/6ozOyMqU4ykwYuaQTiGijEiKNWyY249FP9hbJDL60NRp5lVvMReWi+z3aIkDt9gXFcizbwZ8e4kthPpWy6RRkg3vM8RBp1lzPPadem+USfyVeyOpWogWJuTEdGZZXUSRPuWGE0ajoV1VZUvBOKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=bt3BZeXR; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-35f223e7691so380850f8f.1 for ; Thu, 13 Jun 2024 00:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1718263272; x=1718868072; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nhdTMjtoIXZFugvUtXucLNLZ+wuL3jj/Mf2FujAvEdI=; b=bt3BZeXRRVH0aOKqgTVaSP4slhRVfUfIkCGypAJLxA8h2CAbWbuoVB7L5hkHzFFhW+ LyYJ8+bTXgH/qvbevlwsvRbRn+3B7insaYLbJ9c69g5aL4wx9EsL/Ys19qrML/s653o1 oh5QXUufs4HJdo8n9oHNhqb1F4k4AuVskcwjXbrDkYPyhpF7hh/4agbZnskqlg9hf2nj H2YvhdNI002qCH6r6UGlZGvTRgXpJNAFmJjF83ud6UnfrlpQcdRcI8VPNILMut6JeLMd /pcAJwYz88Plctnic5btNCKqtsmYMVMFuwwMcpgUb0i9P6geXItsTg0MWiw2cIC5o1Af +QtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718263272; x=1718868072; 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=nhdTMjtoIXZFugvUtXucLNLZ+wuL3jj/Mf2FujAvEdI=; b=jNGjyGJq01GLlXgWE15f82ZwTz+jMBuZOSf9RArnjKXhDT/HIIYtgGtEwlTvYtXhdJ MljDCVo6Dg/ce1RCew8De+WC+YmgbsQNNvyLL9SnRQ1gzlndZMdR2SdoL8S9mhKgcRO4 yLArWb39TwRVUp0viaHFVP4HUr0KnjD3+rH4gZeFFlWBoPlajPDbw7naS4ssQXA/bUZQ 9eOHISGW7Mn44oqMjjVnkJA4+v0P9awQTdHkgNImuR4U0WWo2XKkxUSICP9eMVLxqOoG ios47xmAXNh0jQRGaRiFVmDQYYJjTWJqFuIk+QduzZj02oaO1MHIdK9qkg6czgri6R3h 4d5w== X-Forwarded-Encrypted: i=1; AJvYcCVFd65w8BzBPVHc8lUlz4wW3qrvvbKFvHp5zd0EbEHovowmcQ1xL821CkKLl5OrnWyPXMiEss/7GA4rszyj/S9HE/miX/SGUEx6hwWj X-Gm-Message-State: AOJu0Yz6T1Yz8zcXVasrzdTCHdi+UcaBDOd+ZSUfcbIPvF749gAejwZP 6JrFEHNRbHkgI6vu0ojM/5ZHnuX2+//Py2fY6lw27eGyDJfVumeeM2Jwl3v6Ld8= X-Received: by 2002:a5d:45cc:0:b0:35f:d07:d34 with SMTP id ffacd0b85a97d-360718e5232mr1590625f8f.27.1718263271467; Thu, 13 Jun 2024 00:21:11 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-360750ad20bsm821833f8f.54.2024.06.13.00.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 00:21:10 -0700 (PDT) Date: Thu, 13 Jun 2024 09:21:07 +0200 From: Jiri Pirko To: "Michael S. Tsirkin" 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: References: <20240611053239.516996-1-lulu@redhat.com> <20240611185810.14b63d7d@kernel.org> <20240612031356-mutt-send-email-mst@kernel.org> <20240613024756-mutt-send-email-mst@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: <20240613024756-mutt-send-email-mst@kernel.org> Thu, Jun 13, 2024 at 08:49:25AM CEST, mst@redhat.com wrote: >On Wed, Jun 12, 2024 at 09:22:32AM +0200, Jiri Pirko wrote: >> Wed, Jun 12, 2024 at 09:15:44AM CEST, mst@redhat.com wrote: >> >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? >> >> Sure, I'm sure pointing out, that devlink should have been the answer >> instead of vdpa netlink introduction. That ship is sailed, > >> now we have >> unfortunate api duplication which leads to questions like Jakub's one. >> That's all :/ > > > >Yea there's no point to argue now, there were arguments this and that >way. I don't think we currently have a lot >of duplication, do we? True. I think it would be good to establish guidelines for api extensions in this area. > >-- >MST >