Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp352991lqp; Wed, 12 Jun 2024 03:44:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUn2RnlfyDS8Hgn/sFNwWLphL/3sekvfxaqLTboeS3Wrd0lTUq3WlQxXLkvo6w6WG4YlmFzcKQz1MY43rbwhaiMrZsM9hVE8PWtXnRHCA== X-Google-Smtp-Source: AGHT+IHQmuSFWX/cxOqq8Hlr7w3LI5tnKp1BbjWwIEWmfEykSqcsZNyvIxeWGRRjKJYout5nFS3g X-Received: by 2002:a05:6a20:7485:b0:1a9:d27c:3151 with SMTP id adf61e73a8af0-1b86d259fb9mr7968442637.23.1718189050501; Wed, 12 Jun 2024 03:44:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718189050; cv=pass; d=google.com; s=arc-20160816; b=fB3uZ8Tasc9tYsc2hQ5uQKnvGX4iX78pnW9WGaEUMxikqKQ5eInWz34C6tq4GJ7Nkh jXz0ZpcWwcSVtDgBPhGNZvv3i0vXxMTR6GJSQuhfVTdUkZ5ZHK61C5EfpBXv4Bvt0XpD eVZIahITquNZE08RrdVC7F4M1zVZ5BxsJOS1trxqzAI335phfZvVs5X7ndnv9lSwNwXx C0WSTdbETVF2Cp0bCTe/cLeqUXOuqB4LVFEQikiIkDzZKGw/p0rUVYWfNaYrjJfikscy IFQK0F+g1drrlVXq6KrhWY1LUMxwwyLb4Smi0ayOnwKWWi8AhCuO0Ro7y8o45Yx88QbX CyOg== 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=5LH8e3qpcjluJss2hNPudK/MPhEV4gW+gLGQ/ZThC0k=; fh=+yLDdiawKNzQuV3hu7xDPNETzAKmhZyQLm8eLWh6Q74=; b=SzTVVv6xSoip4xNqhyLDmFp0nWxoSy7F+K6S7Cx4b4THP2OXkvB1BxzkQh0REJfgM3 g+1m53tSBRwSM1f/G4OV39m9NMg18ERh/0AkPjOqywIyNm/+WyHQyq8ao8DjSqLIvMqP 4OLKVlnoUkdWu3M028EOefRFEuZH4y5fAADvzCZEfzsUEbjkm85MgNjiYJjwd1UqNuQ/ fUhEJJZrFamMX+RWWHeoTdlzl3yaT84hdJ0SBCBA26NLXsR2AvlR7/YO/Sf+sKGLHEWL JyuL9FXOkH79i8DPC7Yfnqq+b10nqTVGSzegZ2QAqFuJCiyICS9DET0Hv1iiE30fM23i hBXQ==; 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=0hYGDPhT; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-210984-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210984-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6ec18316582si5916457a12.771.2024.06.12.03.44.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 03:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210984-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=0hYGDPhT; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-210984-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210984-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B56B8B22C92 for ; Wed, 12 Jun 2024 06:30:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4480169375; Wed, 12 Jun 2024 06:30:02 +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="0hYGDPhT" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 CE9773F9D9 for ; Wed, 12 Jun 2024 06:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718173802; cv=none; b=WnMyFQxa3Yd0p+9vLluVzXnvx9EEKeOkJjTneXbILWjrEYey0Lqu9O+oIkLC4vMbpiXke1F8BjuErkSSsDLjeI/+J5+WRka+l5sz8KHGfkHtD30Z9BzkcoKZVI67jlzGi0/aEtVEA/fMhDNzgLTUq/yGxC3NA3CBIa33gB/UsaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718173802; c=relaxed/simple; bh=Dw8KIMMn+F28OFpTAhQjzDCM2P9ytOTncCAHmd6nIHc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q/hN5dJYCM2la5dznflhQ2LTUTeGse0CM0NogtRwuJdtQacsCL9cZo40wqTj48kpRg97NmEap/oqnDkJOapLvdIYrLIQaPr96OLo57gWBG/YMNxBI0e3/bxc6epMU9ygp6+f5wGgJZjZLJI8Bzbs6+OL32bmt9/NAD7GHmo85aE= 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=0hYGDPhT; arc=none smtp.client-ip=209.85.167.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-5295e488248so7118752e87.2 for ; Tue, 11 Jun 2024 23:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1718173798; x=1718778598; 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=5LH8e3qpcjluJss2hNPudK/MPhEV4gW+gLGQ/ZThC0k=; b=0hYGDPhTrP5DabeRqTvEnFuUoZWnORKBU8CLTKH0A0qO0Ih0BcoPlOczkFx2/EGhLk iO6lpFy/tSpQ/FuiRlomrdjp84kvZbiEiMVifwfvCwNjKCZesboHLSNzJcZXdietSsiO 8sHKS/1DkGxaIr3F4fAu2pmNrgUd5t6bDHPC/itLJ66ic43hvsgu8HsEuJGsS9RYLN+R +1d67dHVs/HdTq2EODGcogUJK5j/i9EqCVWcsjbXwvMO4hbuwBOsnokLIZXVHNjk5BJD oX5xppbcuN6Dw7RWcryH3SPhqk4hMTz7+Pz4l2pJdYRlhYL24xx14pSpQnt/ZqOUAvIT IkZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718173798; x=1718778598; 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=5LH8e3qpcjluJss2hNPudK/MPhEV4gW+gLGQ/ZThC0k=; b=p+QJOPJkdAgV0aAjZ2PVf1gxtkgBJL/C5VEZ5CO/3jMsga0HLScL5YvI4pNN+7ehbe MGhCeZPDu/Ih08OyOhsTkx9tA5UGdifjId19q7UXivz+hzxADEy3oSnqtx159arrWlnb f18uUrbq+SQSRmmOMeURGG2l/WBSokVp33sXT0NZB67pDQoXS3DOr5WXSge968ICPCEr BJ9zR003DY/z6fyUMgY8WM8qJC843REYriuYoHluhn82y1ByUFQFgOSnz2oFZVQkltWy 9ZVNJSEOm9AI4wfVj9or5YzyvyfsmQS3uHgzV0fpVpzWB5lkYXArAMZrGSbWMeUcVuv4 9PfA== X-Forwarded-Encrypted: i=1; AJvYcCWV6m+nLegf4Zk2W3eCZiQZf0KOsVhn2s36+97arhRPNj9SUKgEUto61XwOB+gwoCYLPGBdS+XzmmHvn67951aJhestp39n8V0I6bZ9 X-Gm-Message-State: AOJu0Yzr4hFXFg0kjKR31fQosEvFQ6R6U9K+YChQ6N9mhuyc83HDGZWH wmaxZpqa8P3UYoZUcCnI/kSar/WPYAE18ZDe6WtN7B4rk7G32sfuRlIYpU6qJ2U= X-Received: by 2002:a05:6512:1313:b0:52c:8abe:5204 with SMTP id 2adb3069b0e04-52c9a3dbeffmr624591e87.32.1718173797669; Tue, 11 Jun 2024 23:29:57 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42286fe75ebsm12495135e9.9.2024.06.11.23.29.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 23:29:56 -0700 (PDT) Date: Wed, 12 Jun 2024 08:29:53 +0200 From: Jiri Pirko To: Jakub Kicinski Cc: Cindy Lu , 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: 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: <20240611185810.14b63d7d@kernel.org> 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 :/