Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp404743lqp; Wed, 12 Jun 2024 05:27:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9w6wHxfDS7yKpJyOh4nvODWEogyekE8jFJYWe/BTXyq+NLTjdfqE/lYMRFxYjqof5Vwc/bUJbJ5dyDOmnWEjsmOcEROiAfF5du0m4bw== X-Google-Smtp-Source: AGHT+IHFbr5jWIH1ZOvnJiOr7o4jQ6cR5Gzx4ZFwG8Zb7AuQoLmY32Od6o5igsUZ1BxjbqOgvDZx X-Received: by 2002:a05:6871:5cc:b0:254:7661:befd with SMTP id 586e51a60fabf-25514f2b9eamr1705218fac.44.1718195277269; Wed, 12 Jun 2024 05:27:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718195277; cv=pass; d=google.com; s=arc-20160816; b=iVcB1zjKWDCGr40CmjLPUzq4Tfvj3F67wAWruELI6RenDaYTZCuUcbi7mxOhhLqlY7 icAAgozFxSAuq+5eVm1o0cdUStJdYhzVzwux75pB3jLWJdohKlHf+WeWNgexa8z1iY8j 5+RncNpFNYGmK8fdU+JDarcI18qXP0J/D7mxDShn7q1N1ztWE/4w4ZBxDQOAJphPiqXe FAQlYA+Mr9FdZtHR6X18IHGmjvlVHQJK1JNX6aWY0RAeudnJjNV4VhZVimT8RjjnqQI1 iFlfK3PLmDd4ePsCQV5/kpcfZFD4o5PTbH0BXyQSsJv25betPrLh70yZGMw4iRBbaXvN 4rtg== 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=XyAaGEtFFwkdm/QpmeEncAmUxjsc5CcFkHBcrT1qbjY=; fh=xUwi6OLU67oBDuFD5rYPLC38zx5xW71BhcJrmqkBO/Y=; b=xdRPbJPDZNESDKq/2tcmWhaKVMZkAKbbRkXq+dinXNXsClcXMGeWoyKjJz6e5YAhd0 ct+NtELrN+2b1GtmbFXRezVOEOnwYJsYjfWwbXF9gbS7X+mqIqWM+b3qVDQ6M5vXFOZ3 zTaV2akpprXL3vvqx0fIcj4+39IEauyTLc2EN3YPLDxXNB5ec2TKDsD2Ah/4+WfV57Pc C4AkbWbtP1yfNDilybgtp0FdOHbnIlIAayAREKZfwH4+zpNOHa2Ro3ykI2d0HGYIwH2x wg29hArvhI0fAFZ8B10y0qRx3Qg/TZ1D7rQ+EkbGq2K05mpqKSVo7Ci3CRXvKhTx2p90 y0/Q==; 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=CSpD9dy4; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-211060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211060-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-7041e3e76d1si8547439b3a.362.2024.06.12.05.27.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 05:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211060-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=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=CSpD9dy4; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-211060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211060-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D65B286368 for ; Wed, 12 Jun 2024 07:23:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E4C616D4E0; Wed, 12 Jun 2024 07:22:40 +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="CSpD9dy4" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 C6AEF16B75C for ; Wed, 12 Jun 2024 07:22:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718176959; cv=none; b=aztwHc0pE8e202Fbk35tpuwHnfnpas5HBOOcRvkb+W/3SlawFHmSZA1eycI5klJ5wq9Jg/xXM/Vj8j0EbuN08X4N/yDeim3GrFWVpZHXNj5uXvhqMeYfNcUSNslMPt9o++39whFWaAsq+rl14BLCfl0dVmuLnEpJUW70ev1jsCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718176959; c=relaxed/simple; bh=wkDVA2dK3+U+cA6W49NHBtQ20kiOyRc5qnKumZI2mZ0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JDvrpgcCrUdfA6vq0nl0MZXoRTzEw/dKQsTyyfnSKGQwCsUUw98YWG8WfsLnCr15Y1T1aZuSZOAn6yhkoMlY6GT6wQRLOCEBQufoEStmjBS6oJ+JxPHLDHMdrbd8hLuDBvBtIhESbHL2vWX1xroZ810PK8wCmzjcalGsGZFcJx8= 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=CSpD9dy4; arc=none smtp.client-ip=209.85.208.174 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-lj1-f174.google.com with SMTP id 38308e7fff4ca-2eaafda3b5cso82728561fa.3 for ; Wed, 12 Jun 2024 00:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1718176956; x=1718781756; 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=XyAaGEtFFwkdm/QpmeEncAmUxjsc5CcFkHBcrT1qbjY=; b=CSpD9dy4uJ1tvwuowHkLQayntpGdUohvr6xueFj/D1a/5fGv/mkoMcJYpzNmOozN00 u0wDdD+sB/NBft7PmOBci04IC+o6gcrWG7oi37w2mBErAOMEwW/VAGHWq+UPWd3HHcR4 W10/OwPBm7W3VNWvF486v6ekdHcp2UFZhw3G7c65/WCqjtJW6mfCkoz/DcPijtn2qK2F 1uWZwNs0O+qoKc920WjLetOHDH5omM4TLjFLe6P+HiBjizp95UfpOhZjz/6squ8T2/yV G3gu6C0GSyzo5gikg2NISNJOtVB6r9Oi+mt+cRmAPoUl0X2W8n0lO5gaBW37l3ag0Bww zFLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718176956; x=1718781756; 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=XyAaGEtFFwkdm/QpmeEncAmUxjsc5CcFkHBcrT1qbjY=; b=H/5koA1CklA1IIrhUaxixgHb5DX607WKNRxOEBksso68QygdS5pN799o6JmOcW+OxF Fg13JpARsaNnE4N7071Ip2ULF4/eGfLUT8FaTtN/8G6Pq1FsQrqPEnc4VTWTEPLL9kAn lYaVyC+T+2N4LOFHR5NKThkJcdcmAP+X8uNi1WnYqG40tJe3O2GVfJoYbHAql1hTteRd je3wFmt3n+6m0KtIamkw8QrC97w+w335+vet36x537IUwBovTJrWpm4PfwFpJHGE3zOs U4zTchG3Qh9TFbGSfxH4/2YN8hKiAoqpyTTp2o3trMaTEokE/ta66gqRkHNJ+ElZH8b8 A0Dg== X-Forwarded-Encrypted: i=1; AJvYcCVlsMtsYaVdfxpDRMHlIMefqpSQ9xmnAHBN8WWEQzV0JfVw+nN0dLUdAUxKhKCErcmcR/f98e459GiHC4jdxkU2r5gL6eCmGuEKEApv X-Gm-Message-State: AOJu0Yyf38/is/RHvUeFG6PtOG7m8VyqawP9Xq0IhKb+MjSWfO5e7XBg TxEJNYuC+vXwyFCDqI13yPsE5n8J7AqsQhZBBthRT4CLWqISLLfM6x7Kj/z3Kx1nrlaFULzO14z JD34= X-Received: by 2002:a05:651c:8a:b0:2eb:efff:7729 with SMTP id 38308e7fff4ca-2ebfc8ffa4bmr5282021fa.6.1718176955743; Wed, 12 Jun 2024 00:22:35 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35f1c958f9fsm9730922f8f.38.2024.06.12.00.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:22:35 -0700 (PDT) Date: Wed, 12 Jun 2024 09:22:32 +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> 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: <20240612031356-mutt-send-email-mst@kernel.org> 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 :/