From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDFFDA0567; Fri, 13 Mar 2020 17:19:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86F101BF97; Fri, 13 Mar 2020 17:19:13 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C62111AFF for ; Fri, 13 Mar 2020 17:19:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 09:19:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,549,1574150400"; d="scan'208";a="322834303" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 13 Mar 2020 09:19:10 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 09:19:10 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 09:19:09 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 09:19:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GlLUBTkftc86WLhTSD6tBF5KHcCxx/v7Vn71ub+Ts4MNbKPW0HRo5ipP/loX99xQsyelkMyYrBJzrmJPeLKZmUUJHjJ96om/6PWoEMgBi2tHKU18b2AkQwnTkU0EJf2JP7LME4dTRdiFiCgGA10mIR3aC26oAYxq87ta6LeA2ALRXkqT5QolushGkH/FJYTFCt0psC70XeQRLjmhnESoXNBzh7ZlyyOBkluoo7U35is/7/m4eawlLvK/7+W1LhWkDy+91GkwJFqH7h2xSbIFASQ9QldmDTf8Ga1WgXjFGTR3BTDgCc1T+XJ3rcl27q43bYARY0cutoMxI8cNKovb4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v28QPPWQ0TcpBHLnHYHkX+IQeJ1DVx7TdV07NrFcPsY=; b=eSNFl/Q+CzHQRsXk1PMrOA/dsRW9HVqVRsrTteVfly2CHvTxRbXYUnY5QyS7yUh3mFD3uKOrQcxVJHTQ3Q/0Khim0zEglS4jsrL9bc3cZ8/fsctRobnV55Ex1z9yqT5q/d/iehz4vj8xffB1OZEuznqAvtpxZocNCag+9x/vx+B+d4A4xnujmQ6uaT4IQsFzmicDTbvHIsefPo1Kav4QFWGzQXMWwigW5oam5QM4WD8r+BCOqB6Y5/NvPiN7aNm08Uw4Fcy/C3qoVKbQF/qWsWhX/xvXw1fiucOD84EodyAn2MlmTvFEl3RnBr13XaR/CcCtfeWtZr2scUBuiBEVJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v28QPPWQ0TcpBHLnHYHkX+IQeJ1DVx7TdV07NrFcPsY=; b=djTCDyIY6NJ7kfwCsbP4t2PEdidPR6jRGXZoB4hXE8yFEVUGALza4ppnShbuPyMLxHRR9kDBpnR1S5Ao8dLOrNRhRwoWKJnRnTxJwNTQzy+ardKRfo2SBXpn8ft1D2vZSHgcTdIWb1PMNUIUgCUO3VFE9d2mgCrTPn6g08ECDXI= Received: from MW3PR11MB4538.namprd11.prod.outlook.com (2603:10b6:303:57::12) by MW3PR11MB4553.namprd11.prod.outlook.com (2603:10b6:303:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.14; Fri, 13 Mar 2020 16:19:03 +0000 Received: from MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::d94d:d13e:f47a:29f8]) by MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::d94d:d13e:f47a:29f8%3]) with mapi id 15.20.2793.018; Fri, 13 Mar 2020 16:19:03 +0000 From: "Stillwell Jr, Paul M" To: "Wang, Haiyue" , "dev@dpdk.org" , "Ye, Xiaolong" , "Zhang, Qi Z" , "Yang, Qiming" , "Xing, Beilei" CC: "Zhao1, Wei" , "Wang, Haiyue" Thread-Topic: [dpdk-dev] [PATCH v2 0/7] add Intel DCF PMD support Thread-Index: AQHV9qljPljSSGDfcUyQXpJG1Qa66KhGuKEg Date: Fri, 13 Mar 2020 16:19:03 +0000 Message-ID: References: <20200309141437.11800-1-haiyue.wang@intel.com> <20200310065029.40966-1-haiyue.wang@intel.com> In-Reply-To: <20200310065029.40966-1-haiyue.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: spf=none (sender IP is ) smtp.mailfrom=paul.m.stillwell.jr@intel.com; x-originating-ip: [192.55.52.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c5891200-0ca2-4331-0d53-08d7c76a3f37 x-ms-traffictypediagnostic: MW3PR11MB4553: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 034119E4F6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(346002)(39860400002)(136003)(376002)(396003)(199004)(26005)(52536014)(6636002)(71200400001)(2906002)(110136005)(33656002)(54906003)(316002)(186003)(66946007)(64756008)(66476007)(66446008)(66556008)(53546011)(8676002)(966005)(9686003)(478600001)(6506007)(4326008)(55016002)(86362001)(5660300002)(8936002)(81166006)(7696005)(107886003)(81156014)(76116006)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:MW3PR11MB4553; H:MW3PR11MB4538.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o8FhYdF3equD3TzlG1T6a7iAbo7lxAM06mfhpMF9FHN5lR0q6GKR0yOGrYt5sYVB/eEZOBfKRwTsV9+p8bmxJUS7zSfp5Tu2idQJecjMIljElkxSooxN1aOkRA4Off6jyM4Lx+jrBKNl61p8RX9mXS1S+JUNSDgjRbhXUBGdNBD6NEw4gVK+Ul0w3SIaVDoJGobNi/M0EPiUVLU54oipbvFzdWTZ3MWnyeiU9PeDlTPj6LLkrYI544wRnxe2xFtByvJeweWAqkQFpbz346JQorB8CpcMe8GxQoBEvF+jHnT2jp1oP28xNhxAnr3lQyF9tWgFqSuPaz31Z+dtNijuOXaexxUBxSXrDfprwvC7b0zdKIfkcyrV1vIeTq1O7WGEZo4ltR9d0z/Lijy+XdPyGobBfNS2HwKu+Q8Eg2LpojrAo8mn8yzAyoO88c4UJBmkS8JM6RRHpKKW9kZKHjA5dX0ObJBV8v8eEei+CrdzkXjjN5FmVpRedwJ2qVg8cKM17RkHNP5x1d8mFXnkOHQNM5+TwWX3/xDTj1W4DXcNQ/PEbxAXh4MEC36ZoDGQ+dGUniuhT4SkJJ40awl8cZEZhA== x-ms-exchange-antispam-messagedata: h2vr6p/M+t5dL1L0oQKQCZtN/TXSdpBgGF2v3SwsOszN+NRwDj4GOWeB/JuK+t//9IBROlv216VQeQ3KEoGuN3K8Y5K0on+RIQbZe58zoTJIOADHSlA4C0NtJ+ohKuYzrpf+DoRAATUQeREXSAHEww== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c5891200-0ca2-4331-0d53-08d7c76a3f37 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2020 16:19:03.6232 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZCI2uuEd9J8Hf5DcsZmpMMv612Nt/tpTdX/TL8r7f/7Ub9SV1cGhwaRlsG1BiY6r5tyLchwr+UHzJeLewriRCkEhtUb552XqIRmWUqusTE0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4553 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 0/7] add Intel DCF PMD support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" I'm confused. Shouldn't the DCF be a separate driver since it is a VF, not = part of a PF? You are starting to combine PF/VF code and I'm not sure if th= at is the correct way to go. Paul > -----Original Message----- > From: dev On Behalf Of Haiyue Wang > Sent: Monday, March 9, 2020 11:50 PM > To: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z > ; Yang, Qiming ; Xing, Beile= i > > Cc: Zhao1, Wei ; Wang, Haiyue > > Subject: [dpdk-dev] [PATCH v2 0/7] add Intel DCF PMD support >=20 > A DCF (Device Config Function) based approach is proposed where a device > bound to the device's VF0 can act as a sole controlling entity to exercis= e > advance functionality (such as switch, ACL) for rest of the VFs. >=20 > The DCF works as a standalone PMD to support this function, which shares > the ice PMD flow control core function and the iavf virtchnl mailbox core > module. >=20 > This patchset is based on: > [1] https://patchwork.dpdk.org/cover/66417/ : update ice base code [2] > https://patchwork.dpdk.org/cover/66472/ : iavf share code update >=20 > Depends-on: series-8843 > Depends-on: series-8855 >=20 > v2: > 1. update the iavf patchset link. > 2. split more patches for making this work be more understandable > 3. fix the log function usage, devargs checking from v1. >=20 > Haiyue Wang (7): > net/iavf: stop the PCI probe in DCF mode > net/ice: add the DCF hardware initialization > net/ice: initiate to acquire the DCF capability > net/ice: handle the AdminQ command by DCF > net/ice: export the DDP definition symbols > net/ice: handle the PF initialization by DCF > net/ice: get the VF hardware index in DCF >=20 > doc/guides/nics/ice.rst | 47 ++ > doc/guides/nics/img/ice_dcf.png | Bin 0 -> 39168 bytes > doc/guides/rel_notes/release_20_05.rst | 5 + > drivers/common/Makefile | 1 + > drivers/net/iavf/iavf_ethdev.c | 43 ++ > drivers/net/ice/Makefile | 6 + > drivers/net/ice/ice_dcf.c | 651 +++++++++++++++++++++++++ > drivers/net/ice/ice_dcf.h | 61 +++ > drivers/net/ice/ice_dcf_ethdev.c | 321 ++++++++++++ > drivers/net/ice/ice_dcf_ethdev.h | 33 ++ > drivers/net/ice/ice_dcf_parent.c | 344 +++++++++++++ > drivers/net/ice/ice_ethdev.c | 9 +- > drivers/net/ice/ice_ethdev.h | 8 + > drivers/net/ice/meson.build | 8 +- > mk/rte.app.mk | 1 + > 15 files changed, 1528 insertions(+), 10 deletions(-) create mode 10064= 4 > doc/guides/nics/img/ice_dcf.png create mode 100644 > drivers/net/ice/ice_dcf.c create mode 100644 drivers/net/ice/ice_dcf.h > create mode 100644 drivers/net/ice/ice_dcf_ethdev.c create mode 100644 > drivers/net/ice/ice_dcf_ethdev.h create mode 100644 > drivers/net/ice/ice_dcf_parent.c >=20 > -- > 2.25.1