Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5783757rwr; Mon, 24 Apr 2023 08:56:46 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9rmoOg+lj4yuvs8TJ6X6WRKmjG5tSkWEctxJDK2QjWH3i8zXw0O8QVWyY/O1qaMMYzwLV X-Received: by 2002:a05:6a20:6a28:b0:d9:250:665c with SMTP id p40-20020a056a206a2800b000d90250665cmr18492659pzk.15.1682351806274; Mon, 24 Apr 2023 08:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682351806; cv=none; d=google.com; s=arc-20160816; b=E0tihbr88tv7drwISmy3jbh8kNM4uQag+18Rvrcdt9qJn/GTbsT5yRUDj3eSKITOOi 0P0NVBexI+MAhceaHsCnjPSsD6BsrTB3ZJxExbIEymvl49uTa9OOEaYp/ZX0L+i1nw0h NfGrCnufnSoosOQvdRoeo6V2/LxVD+oPFcF4b3pEN/+BUF+2Y/P0p3M+tL+BOMHEkyma U60ZUBCayDL+U0/R8a1KvqJ8/R8+VKm6H0Hwd+iim/jDKWedffvdAS8R4vdF8GsCVutt d3+p+V6ddbeve/NdgnF1X9GJlMDrDU3q4CKH+Fy8f2lCz3HMrN48beLHAzLwBYHsJQ2Y s4Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=V5kfApywC3Ow430wPUAgz5gf5mqhvM+JQLcnZKUUo1Y=; b=SInsK3AJGvSg+RnIorrShL+R8zMCXZWX8juCCGEvbd0YyWLLF/GtjbSEjATqIkw+Uz exSthOuVfToZJlSXTgX4PPX2WCNEP0MlJIBgAm4VnqZnk+IO893eTGtr7XsyTjniM937 a0bfmr1SU/KAkd1ftQ9dS9l+KMAwgUIWn9K65vbZO+PETBkdoqiiBT5EIZ+VNLMuMcdZ pqxcsUmiNL4ogWUjGKpTXFDq8365zgDP4ReeQhnIaEbM/g2s9U8TLs/COcT7QQBVuo2w IMKVq+kFVOXAyWOIX27JboJbOqESPL4Ta9FKHkQok3b+FubRHy9x/Wk5NBuSdAMps5z4 knOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=IXr+Fpca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b00524d1d335bbsi9330143pgp.56.2023.04.24.08.56.35; Mon, 24 Apr 2023 08:56:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=IXr+Fpca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231986AbjDXPqj (ORCPT + 99 others); Mon, 24 Apr 2023 11:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231723AbjDXPqi (ORCPT ); Mon, 24 Apr 2023 11:46:38 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F0AFF; Mon, 24 Apr 2023 08:46:37 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-94a34a14a54so839644566b.1; Mon, 24 Apr 2023 08:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682351196; x=1684943196; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=V5kfApywC3Ow430wPUAgz5gf5mqhvM+JQLcnZKUUo1Y=; b=IXr+Fpca8MOCigDbW76uRXHkLmsQH79O1FnNrry/Ucde/hSZsMNI8IwKoKfOYABhq7 na9U49hOK9Ann05rowzKO16PNnamn77Y3B1wTz334Z6ax6iPrvy15H/srgsPsMpxRFrc JN1hQdg3G2RP+ochAbZmp7o7YPa4sH+azbyukY4vcvpCBmyUhEGVHSCwWNjolAuWycmp w73X/QzKIa96QmKZcnFa9VKX5vd51xt1lXzlQB3AnUNhjIU9ABN3WEOPGnu+EI5fhZz7 b/vtqmKcc6r6wI/4l0hWQn8cHrS60PHQmbutDgrv27FnDF8vUq8BQzoSDUJKh7qEK1dy YYpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682351196; x=1684943196; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V5kfApywC3Ow430wPUAgz5gf5mqhvM+JQLcnZKUUo1Y=; b=Lg5ZbWzXsSLJI5LIWDi+sfAC1LnYKhQv74pPerMqIUs7dEvT0QzG6gCErq09L9M9gw Nww0J0UknBGki9PO/OphBRnxcU7g4LrIkjvw6NaGqr8I5NzBemJBjPo+nuf3/gstM48F 1qX4az1aBS5L8Utl9GS2fo5+8ADrEpUG0ykUjQOteeJhWxeU+1xjp7CzrZYuqvhLj6Tv wzXZCl0ojpvn1OKkEEX0MfwKDFO4OB6lF6PiW9Y3DkwPF/AW/s9Rb8+GM8Y95J5NgTct 1UNM/zfLQ/gYNiSOSm5wC45Gm6QU+pOO28YZRiqIcyNPG44ucf4Y/Cg1ePXqNdCe8SGQ 53Wg== X-Gm-Message-State: AAQBX9cWhWjMBRSwV9Xeznm0pDdOzQDns1f3nSVBasg9BXAvrxe5IpuW Vng6rfIFGhAwAeQdUmRGqJc= X-Received: by 2002:a17:906:9b45:b0:94e:5679:d950 with SMTP id ep5-20020a1709069b4500b0094e5679d950mr8526128ejc.72.1682351195882; Mon, 24 Apr 2023 08:46:35 -0700 (PDT) Received: from gmail.com ([81.168.73.77]) by smtp.gmail.com with ESMTPSA id lu14-20020a170906face00b0094f4e914f67sm5587915ejb.66.2023.04.24.08.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 08:46:35 -0700 (PDT) Date: Mon, 24 Apr 2023 16:46:32 +0100 From: Martin Habets To: Leon Romanovsky Cc: Gautam Dawar , Jason Wang , Gautam Dawar , Jakub Kicinski , linux-net-drivers@amd.com, Edward Cree , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, eperezma@redhat.com, harpreet.anand@amd.com, tanuj.kamde@amd.com, koushik.dutta@amd.com Subject: Re: [PATCH net-next v4 00/14] sfc: add vDPA support for EF100 devices Message-ID: Mail-Followup-To: Leon Romanovsky , Gautam Dawar , Jason Wang , Gautam Dawar , Jakub Kicinski , linux-net-drivers@amd.com, Edward Cree , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, eperezma@redhat.com, harpreet.anand@amd.com, tanuj.kamde@amd.com, koushik.dutta@amd.com References: <20230407081021.30952-1-gautam.dawar@amd.com> <20230409091325.GF14869@unreal> <20230410075333.GM182481@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230410075333.GM182481@unreal> X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 10, 2023 at 10:53:33AM +0300, Leon Romanovsky wrote: > On Mon, Apr 10, 2023 at 12:03:25PM +0530, Gautam Dawar wrote: > > > > On 4/10/23 07:09, Jason Wang wrote: > > > Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. > > > > > > > > > On Sun, Apr 9, 2023 at 5:13 PM Leon Romanovsky wrote: > > > > On Fri, Apr 07, 2023 at 01:40:01PM +0530, Gautam Dawar wrote: > > > > > Hi All, > > > > > > > > > > This series adds the vdpa support for EF100 devices. > > > > > For now, only a network class of vdpa device is supported and > > > > > they can be created only on a VF. Each EF100 VF can have one > > > > > of the three function personalities (EF100, vDPA & None) at > > > > > any time with EF100 being the default. A VF's function personality > > > > > is changed to vDPA while creating the vdpa device using vdpa tool. > > > > Jakub, > > > > > > > > I wonder if it is not different approach to something that other drivers > > > > already do with devlink enable knobs (DEVLINK_PARAM_GENERIC_ID_ENABLE_*) > > > > and auxiliary bus. > > > I think the auxiliary bus fits here, and I've proposed to use that in > > > V2 of this series. > > > > Yeah, right and you mentioned that are fine with it if this is done sometime > > in future to which Martin responded saying the auxbus approach will be > > considered when re-designing sfc driver for the upcoming projects on the > > roadmap. > > Adding new subsystem access (vDPA) is the right time to move to auxbus. > This is exactly why it was added to the kernel. > > We asked to change drivers for Intel, Pensando, Mellanox and Broadcom > and they did it. There are no reasons to do it differently for AMD. We have obtained permission from our management to incorporate auxbus for this, and will start work on a design for this. Best regards, Martin > Thanks > > > > > Gautam > > > > > > > > Thanks > > > > > > > Thanks > > > >