Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3539895rwl; Sun, 9 Apr 2023 18:46:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YSzCXTXODBLyDysjQL6+UZzpD93gwsIIc8X45MO+LU7b1Pq4twsCARaZgOysf76BZgDPCB X-Received: by 2002:a17:906:5fcb:b0:878:7189:a457 with SMTP id k11-20020a1709065fcb00b008787189a457mr6626737ejv.51.1681091167580; Sun, 09 Apr 2023 18:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681091167; cv=none; d=google.com; s=arc-20160816; b=qbPpJiqEmC1LSp9M0MWWrRa9DQDaX4g6tizq0q0W9MVpPKIeDbyL+4QGtemlMfg+7H aiGrr6bwGVxMHdDK9Q9lxktxCvyg7jKtcCAXGwDIkDRzHoeuzbz5BfjUseY9VAfC2OdF 6GGZSGTbftsW+ikFzRIL5kTmwEsQ+Mw9zNY82TKt0/NU1hcGXO4yiG9eyy38w5SzVTBT j8FdOwtRS4+oXtGRK7veySVbDsjpH8te22bJ4WhnTXxSiL7lya3Zp8ubgW8hls+1istL 4sXxBILjtTKM1HpU58B3PsxtWumCrp9Ti2PTCh7afEkglKMhFKhnQsfHkVsDL/426Srf M2tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Y7vvaahi7EtSEdZtxTNRZslDy7MErAqHXrjq5q/UMYw=; b=SClJGFGV6QSrahzpORPCXZ6S3p+IHqnntq64regegzp2TX3jlcDnl22Ry5K/UVP81I FaZ6FPVPh60Kte41RTCv0rLHTSvg4bDWCQhV/kR6VUQ2Tn1cnLxcUWE4RU+w+IlHDe63 HyJIUynQA9Iqp//ssYKVZbPh5FQq4QLTgppcwGBZVZK5A9M/LT8Q7P7NYAdYO9lz/sJb 93jIdGAzewMw3OxaSEpvxE+1VMy9VPcCuhZbHfm7x2lJxdojiZB4cA41lUCvDQ1yAzGz 0jz7Ebc86c+p972i8DET3IDUH/OWTFqcm+CGW5VB2VkL6OoRbmlL+oVo3SmmkUlv7zrq 6N+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OFleB525; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb6-20020a170907160600b009332cc3b334si5115570ejc.59.2023.04.09.18.45.43; Sun, 09 Apr 2023 18:46:07 -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=@redhat.com header.s=mimecast20190719 header.b=OFleB525; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbjDJBkk (ORCPT + 99 others); Sun, 9 Apr 2023 21:40:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjDJBkj (ORCPT ); Sun, 9 Apr 2023 21:40:39 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E74972727 for ; Sun, 9 Apr 2023 18:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681090792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y7vvaahi7EtSEdZtxTNRZslDy7MErAqHXrjq5q/UMYw=; b=OFleB525f6g2uw8/UHult48kirtaTH/M0e2gj4ZdUWZeJWu+w0s8QDndPox+3o4KK8FgHr bHUCORx5vjolB1SKPIkRRgFt4C3sQFXSl81WrOTa4SWUaTR2ecZHNmD5Yxqe3HSbwnpHlj 8kebWGcpJDPKnnIJHafTP/udUmJ+Kzs= Received: from mail-oa1-f72.google.com (mail-oa1-f72.google.com [209.85.160.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-658-wRmUYh3oM06sLt0ipj0U0g-1; Sun, 09 Apr 2023 21:39:50 -0400 X-MC-Unique: wRmUYh3oM06sLt0ipj0U0g-1 Received: by mail-oa1-f72.google.com with SMTP id 586e51a60fabf-1842ab38ebcso2653389fac.19 for ; Sun, 09 Apr 2023 18:39:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681090790; x=1683682790; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y7vvaahi7EtSEdZtxTNRZslDy7MErAqHXrjq5q/UMYw=; b=Vyzbne36iaHFxSXQzYmja2gZvBF5D9oMYf3eBKMZsOrEqPS6kborlf9XnqSFRaDlWE EWIwBBsrxlisyRYxOMF7jH997kbu+DQNfWlzsi5wlzr1c659AttPFQUTG4Wa8o4axwal rTZ+ccFgJs7oLrk66ttbNm8NQYfkME6N+SPTWvilOs0Mb6hbB/ZMG070nNxVXMIZIoRX NXF94l60Lj1qvyI/4rjh5OGKvbviztX7sFn1g6JyHX5FmYZH2FpqqWsX7iJSRo7vGYeJ zreApsFj79gqxxDXOWAs1ovD7UO4Ut7n4SKpAo9yBtYWxYyq3+FqkkktweQNp+r24DRO lBew== X-Gm-Message-State: AAQBX9euwTqOKNMNKeNNOKGf+NkXCnJxeG/XzYtf/3t3pNyBd4OtBU86 vVRiH3tTZEYilZVWMiy0vDK27NdXZh3Nh2vyTsXSmP+b5jAQOapOIH83HkKP74NmyyiGwh9dwcb S53UmXeqI3kqDWbpT0BZlgZbPT90O34b7iceRdf3V X-Received: by 2002:a54:4115:0:b0:36e:f6f5:604c with SMTP id l21-20020a544115000000b0036ef6f5604cmr1609967oic.9.1681090790005; Sun, 09 Apr 2023 18:39:50 -0700 (PDT) X-Received: by 2002:a54:4115:0:b0:36e:f6f5:604c with SMTP id l21-20020a544115000000b0036ef6f5604cmr1609954oic.9.1681090789821; Sun, 09 Apr 2023 18:39:49 -0700 (PDT) MIME-Version: 1.0 References: <20230407081021.30952-1-gautam.dawar@amd.com> <20230409091325.GF14869@unreal> In-Reply-To: <20230409091325.GF14869@unreal> From: Jason Wang Date: Mon, 10 Apr 2023 09:39:38 +0800 Message-ID: Subject: Re: [PATCH net-next v4 00/14] sfc: add vDPA support for EF100 devices To: Leon Romanovsky Cc: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Sun, Apr 9, 2023 at 5:13=E2=80=AFPM Leon Romanovsky wr= ote: > > 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. Thanks > > Thanks >