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 2EE6BA0613 for ; Fri, 27 Sep 2019 09:28:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A29621BE0; Fri, 27 Sep 2019 09:28:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 4FFD2DE3 for ; Fri, 27 Sep 2019 09:28:11 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8R7OxtX032406; Fri, 27 Sep 2019 00:28:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=jF6Rxh7DD82ymgvE5mkfgCOWzsZQ4OLzTHs6PtjVVC4=; b=GhaLzuoV3QdWrL2XpZonFaTx2bfJRACpJxUBMddFwhC6OFxYFjuzZoNbs8mGssBeLG4C aL7PadPuHFQTZCnTjQldiwD4Q6ygiRiLS+Ye6hC5Kz+qWVj70EXuBkZj2F3zKAW0FxB4 nbgGFzMuqiCubVezkm7j7wwyGhh9yC1qxu8ZNpxleGkntPony0yEeQcw44ajNb8ChidL fTPIFC+fCMj1qPxPnBDGl8peC41uku3oarBaueZ/K4vrfGV+rye9Do+Ugcs7CfCstn7B p79bzYYUt1nhfafK1k9aA25oD877Y2j9zBUQ7u7Vt1X4BRf+GCy4DdANvhwmkQQAwPYb Mg== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2v8vf24d78-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 27 Sep 2019 00:28:09 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 27 Sep 2019 00:28:07 -0700 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (104.47.49.59) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 27 Sep 2019 00:28:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fnsTlWqradu9yWPW+JT9H77a0uprs7KNtrSb1Ng9vANMeAR/8PquedxI6km0iOG8oDKm3dDmR3YW2IcsRpOjNSkix+7WNMMMdUwu7CgoxJJ1Jn+HzJtC3uGj3LXnIS/hkFUY3Ek/SMzmYorMmgoCxQ7hU2VxPBskeKPCzG7k9i2uc55vMWT6LfId/FBfKquBKolYIv0B8xDZceHBxoJpx5zAiMDceoiKDlabMMnO0iLqCSgsiMaiEhqEcS7fWjcrhBTRqnvLhxEP//9fMf9Dd9y8z+hFszNFkOflMEu8wXtxf3yvy6MOjxFyX7vN8mKnn7i/A+fO7T+sHswADfKtFQ== 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=jF6Rxh7DD82ymgvE5mkfgCOWzsZQ4OLzTHs6PtjVVC4=; b=gs+2rReRhNbgEyWhXnZtldj7UUADvkPP3LRNxyl/xRUGey9OtqzT3aRc2c/v9kpjcx7/7msMfbLa72BXKi7rtIlIvZODBLucV2k4QX/2br1cYe4YEgFu4P0Xx3esHFEkfJhmDJiAUvePwjJ5fHLOVX+5HE1jPk8jjO1V1az2g1hbBTJb5Caf8IBGXjD+Bde2gm4CqNkzsHfne7zVFQwbTQcVJVvK2Mlqy1iwb+c3QHI/5PhlnFdWJju03ui2utAILp/aEsul20lqb98rjp+357BcoWPTwuu1coMtx8gMDVthRPyZk4duYK60yozNaF9C6qY3zLzcIsi7i29n//Uo5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jF6Rxh7DD82ymgvE5mkfgCOWzsZQ4OLzTHs6PtjVVC4=; b=GuO9kDRq5+3j0VLfzrljDOw8iNAyFMzd+p4G9ET83JScJ6CWmGmc/AZeHRFUFgO4Y7ATqf6WB9mM1czz8g/2Nz1xPt3OeHsxKQijAIIRCl6FeIMAMX69jrxHyLYyFBI4pFql7ojueRvbA49zWXX8ctDn6VgXeG7DAS4Lli6V3rU= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB2005.namprd18.prod.outlook.com (10.165.90.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.20; Fri, 27 Sep 2019 07:28:05 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa%4]) with mapi id 15.20.2305.017; Fri, 27 Sep 2019 07:28:05 +0000 From: Pavan Nikhilesh Bhagavatula To: "Ananyev, Konstantin" , "Jerin Jacob Kollanukkaran" , "akhil.goyal@nxp.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 00/11] example/l3fwd: introduce event device support Thread-Index: AQHVdFKxT2MMbWHgaEWMCmoiWMDVjKc/IKSA Date: Fri, 27 Sep 2019 07:28:05 +0000 Message-ID: References: <20190926100558.24348-1-pbhagavatula@marvell.com> <2601191342CEEE43887BDE71AB977258019196AE77@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB977258019196AE77@irsmsx105.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b9fa1034-d2b4-4d3a-9e64-08d7431c3cd7 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CY4PR1801MB2005; x-ms-traffictypediagnostic: CY4PR1801MB2005: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(376002)(346002)(366004)(396003)(13464003)(189003)(199004)(110136005)(9686003)(14454004)(6116002)(76176011)(3846002)(2501003)(99286004)(7696005)(25786009)(6246003)(478600001)(52536014)(966005)(66556008)(102836004)(64756008)(66476007)(66446008)(4326008)(66946007)(5660300002)(14444005)(6506007)(71200400001)(71190400001)(256004)(55236004)(26005)(86362001)(446003)(2906002)(186003)(66066001)(33656002)(76116006)(486006)(476003)(11346002)(229853002)(305945005)(7736002)(74316002)(81166006)(6436002)(81156014)(8936002)(316002)(6306002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB2005; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 5Bh/oh2jLdUloWa4nfPWkYWFpijC4idaj1Woj6XSbPJyrbo++doTunshDlasYueBJ/OELLih6qkHP8PCToDsO9hQC+qsv+uHXqGnXyfIBE3cEFE2TshrSSFv0npAz/YegM1HOChCXRVfOH4pYYjXixMklKXR/OsgroF05ifFpqsz0g7qEvAPi1KOW8P7Zs79cpYAOUCzkdFMeq04N85JafAsbAicR6cnfkgqGNLJkrjyhbrBhW61AlyWeEyIuS9ymUrKmou1m7JvxGGuDi8WixgCS7ah5w6Jxe8Hqx6L9kst+8V+D2/J+kod0LPLqHSR051ijDuUpB5gUF0WmcFvfWdyrxewbdpa+vGxt6UszX6rnL/ioo4TNRt9ZlGEt62KDU/xDA0A/2mpjQjcFO6670MygZ4ildZZSwtVA8oW+ZAC77RCoj8l8iEIx3CcnoVhFK0HW8+s+yY+hyAyDrxPbQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b9fa1034-d2b4-4d3a-9e64-08d7431c3cd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 07:28:05.2794 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6N2HUT7qiPPEwDTHASHe0UmTbaBbozdP7UVa5mToqSGqJt8hQOphnierp0d1VrMT4nXeSzx2zrL1VWKa3eC48XiALn5acyGsMnigOxsDyrA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB2005 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-09-27_04:2019-09-25,2019-09-27 signatures=0 Subject: Re: [dpdk-dev] [PATCH 00/11] example/l3fwd: introduce event device 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" Hi Konstantin, We have actually sent v1 before the cutoff date=20 http://patches.dpdk.org/patch/58806/.=20 I missed versioning the patchset as v2. If it's not feasible to review for current release we could push it to 20.0= 2. We at least want to push l2fwd-event example for this release. http://patches.dpdk.org/project/dpdk/list/?series=3D6498 Pavan. >-----Original Message----- >From: Ananyev, Konstantin >Sent: Thursday, September 26, 2019 3:41 PM >To: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran ; akhil.goyal@nxp.com >Cc: dev@dpdk.org >Subject: RE: [dpdk-dev] [PATCH 00/11] example/l3fwd: introduce >event device support >Hi Pavan, > > >> >> From: Pavan Nikhilesh >> >> This patchset adds support for event mode in l3fwd. >> The poll mode is still the default mode of operation. >> >> The following new command line parameters are added: >> --mode: Dictates the mode of operation either poll or event. If unset >then >> by default poll mode is used. >> --eventq_sync: Dictates event synchronization mode i.e. either >atomic or >> ordered. > >I suppose this patch-set is for 20.02, right? >Konstantin > >> >> Based on event device capability the configuration is done as follows: >> - A single event device is enabled. >> - The number of event ports is equal to the number of worker >> cores enabled in the core mask. Additional event ports might >> be configured based on Rx/Tx adapter capability. >> - The number of event queues is equal to the number of ethernet >> ports. If Tx adapter doesn't have internal port capability then >> an additional single link event queue is used to enqueue events >> to Tx adapter. >> - Each event port is linked to all existing event queues. >> - Dedicated Rx/Tx adapters for each Ethernet port. >> >> Pavan Nikhilesh (6): >> examples/l3fwd: add event device configuration >> examples/l3fwd: add event eth Rx/Tx adapter setup >> examples/l3fwd: add service core setup based on caps >> examples/l3fwd: add event lpm main loop >> examples/l3fwd: add event em main loop >> examples/l3fwd: add graceful teardown for eventdevice >> >> Sunil Kumar Kori (5): >> examples/l3fwd: add framework for event device >> examples/l3fwd: split pipelines based on capability >> examples/l3fwd: add ethdev setup based on eventdev >> examples/l3fwd: add event port and queue setup >> doc: update l3fwd user guide to support eventdev >> >> doc/guides/sample_app_ug/l3_forward.rst | 76 +++- >> examples/l3fwd/Makefile | 3 +- >> examples/l3fwd/l3fwd.h | 38 ++ >> examples/l3fwd/l3fwd_em.c | 151 ++++++++ >> examples/l3fwd/l3fwd_em.h | 159 +++++--- >> examples/l3fwd/l3fwd_em_hlm.h | 131 +++++++ >> examples/l3fwd/l3fwd_em_sequential.h | 26 ++ >> examples/l3fwd/l3fwd_eventdev.c | 356 >++++++++++++++++++ >> examples/l3fwd/l3fwd_eventdev.h | 116 ++++++ >> examples/l3fwd/l3fwd_eventdev_generic.c | 222 +++++++++++ >> examples/l3fwd/l3fwd_eventdev_internal_port.c | 197 ++++++++++ >> examples/l3fwd/l3fwd_lpm.c | 205 ++++++++++ >> examples/l3fwd/main.c | 202 ++++++++-- >> examples/l3fwd/meson.build | 5 +- >> 14 files changed, 1802 insertions(+), 85 deletions(-) >> create mode 100644 examples/l3fwd/l3fwd_eventdev.c >> create mode 100644 examples/l3fwd/l3fwd_eventdev.h >> create mode 100644 examples/l3fwd/l3fwd_eventdev_generic.c >> create mode 100644 >examples/l3fwd/l3fwd_eventdev_internal_port.c >> >> -- >> 2.17.1