Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3802228rwl; Mon, 10 Apr 2023 01:00:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YZwEDzN6xte6YWhZoHkgKUuA2nUOGsEKDim60I6m2h7HoMv/tPkcw9GZH/gFaqfSf4YsT8 X-Received: by 2002:aa7:db95:0:b0:504:80a4:d019 with SMTP id u21-20020aa7db95000000b0050480a4d019mr7213370edt.12.1681113650132; Mon, 10 Apr 2023 01:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681113650; cv=none; d=google.com; s=arc-20160816; b=lTgjzwh04jGzrlgyRQVviDTcHPWn8SH7VraycBRzsORtgRpi0+qxYusu3iB+sl+7pX ypAXZA446kAzGCphvtCqJpnqbDncPNpP+4sgUpOivdm5CstWLyvHTLMtb6ltL1fIWZW0 H43JQX1/Vn2raMp6Em5g9bzzfYsrrr3aHRW/IGNouqSQ1mPhs6ukc1sbeTTldIQmqfLP d9T6ih7u3Ia88O14jn4jYRluRm/oMJ7T5rWuECx021WYlGbCPIKn5oVrxFvtBlyx17Yx wS0Md3wKxyscszjpx8NCBcxOL24+W81fdRWUsfdBH/VLYU3G7X1VwVxQAlM56KyxUSwX Q1Cw== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=YXRk8sUsCEnlzMdDkwS+ONvi3VidQM0T3uF0SOtYq3s=; b=pz8zk6azUSpKv5IpnhcdzIS3/QIL+BG+76ZAj8NNfdvSLk4SBm6kRSvz/OMt0EIvMC loMal4ivsKN4mSlVA+3TqrlVG/+bLauoDXADYJD0qfhxTICeWBqTCEZpThffiABy3Iy3 6qMwYEcXkwpJvoif61c+mfarxCeBvfqwuvMsEkk7LJcKBlcQa70sJ38zO3wFpYzFB/wM dnPaoz1vLIMLsbQyX35aoovWBG98FBACzujI6Rx7h1BKFL6LPNKgvdlQr5vgR0nD+/6g G5GVFMyRfdvWALI/hfQj7GSUxLCKhN15wD3mOPWgF97is7VHmMZBbYqoCZ9uzcn/ikhv fsPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rzx1y8ws; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a05640202c400b005046333f9dasi8631168edx.87.2023.04.10.01.00.25; Mon, 10 Apr 2023 01:00:50 -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=@kernel.org header.s=k20201202 header.b=Rzx1y8ws; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbjDJHxk (ORCPT + 99 others); Mon, 10 Apr 2023 03:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjDJHxj (ORCPT ); Mon, 10 Apr 2023 03:53:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C56AE9; Mon, 10 Apr 2023 00:53:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 26C2D61172; Mon, 10 Apr 2023 07:53:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E496C433D2; Mon, 10 Apr 2023 07:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681113217; bh=hZP1LEVAHrrf65hDXBAJdvxdejUUBgJCmxgpdFyWaPQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rzx1y8wsNaNVEydnhItIOizIuZZI/icVygRId5pRveImMTYDQjM5wNF4jaSoOfzOx GpAh0G9ljR0TJrRddc5svN/Ugpw/cifBJZ/b2EEUOoJ0g4crclnL/yAcVgZKsqZnox tqgF3YP35oGESWEU13u6FeKsuw1uSLxfqRjA+n15CreY6NvhK5p6qv3t6JR82WEoFP fCX2PqaEYwoZ9l+g4xtlHlxULVCLN21Cc7WZ/BpFnTxYQiSPk1/xXZYkn8mdLbNev2 /kD01U4APggmCqpftXwX0ULE1laLRbsO3j+I5xpN9z/ODIJR/0i7XwgK6M8brf5uL+ bwmhUiAiLyTJA== Date: Mon, 10 Apr 2023 10:53:33 +0300 From: Leon Romanovsky To: Gautam Dawar Cc: Jason Wang , Gautam Dawar , Jakub Kicinski , linux-net-drivers@amd.com, Edward Cree , Martin Habets , "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: <20230410075333.GM182481@unreal> References: <20230407081021.30952-1-gautam.dawar@amd.com> <20230409091325.GF14869@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 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 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. Thanks > > Gautam > > > > > Thanks > > > > > Thanks > > >