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 E859BA0613 for ; Fri, 27 Sep 2019 15:08:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6760F1B99D; Fri, 27 Sep 2019 15:08:32 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70053.outbound.protection.outlook.com [40.107.7.53]) by dpdk.org (Postfix) with ESMTP id C3A3B1B94A for ; Fri, 27 Sep 2019 15:08:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cvkdSHuRDDpGxuURE5rHEr+Mi6AILBe8/zyFs3AB3n7HR53EKYhfnopc677GVbFHlo11YJcUEHckzFbB1yY7pDVVhY6S49+vVu+1422uwWY15DA0Cccwt756o1H5y0dMfSNd/kjSuWhvgyNcxfBjXaHrpenoIF/tAMD3IZURLplJ/cvZqyTEtG0nEYffGd1c6Bo8pFfrRKkfyspPS75idQ1t1xlwIkaxEqeQpKVVs3TodaVjy0iLKpWEGRXRcDpv7XNs8ygVRxflbfB5JtwPksiiEeWFFm2rLlHF/FHAkP1UTX4RUFO2mHyp5/XUL2qjRZ6+/RwiQjL/c+YCs0OlUw== 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=Ybxd2mxVSXNWEBZ24cnXxARX9GDxBBq5YnJ2uw2gXbQ=; b=fmzJkH9IqZ88WpLaOYW8ZM7Z/BiHsxb/FI9k0dH8RiVSU0Gi8OXBjyO64u/rs/1uv8ryKtSGf1ON+lXF9WYoRcFm0NR6N+tAtTsWfRO4oAaU7RBhvOO/P87OtggNSTJO8rV0MiFUR5r0DINvIfgMf005KAEze4/CsMVw5LoeZyGUFmvRBIHOl6uzUgt8/47bmAeRryelXOosu9WajCcn1yH9h4pfzQuReBkyF4Zup3Ecs9cOPoxdOIYsEW0EynGigo1cYNRKxTAy0HP16X79epVV1N0sxPOYdMH/29K3NSTOfanyf5GG1MN2yIBr0yTq14iE4SBb1dN/NUHm+YRKRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ybxd2mxVSXNWEBZ24cnXxARX9GDxBBq5YnJ2uw2gXbQ=; b=fNfWZwzw3Bijh8THZnPeNRByH6SvJ8TCvJ197KazExs9hqCyjteOOR6Sb5FAReOQTXSm85gi/VtBrHsaIJK2j+0OIJBuqzfl78c41/7a+qUIIMlnyDO36vp6qJB3oYr+Nsq2jVpULJtyjJ+v5VeX8IfHqVVYCeojmQ16YIBTTKU= Received: from VI1PR04MB4480.eurprd04.prod.outlook.com (20.177.53.224) by VI1PR04MB4813.eurprd04.prod.outlook.com (20.177.48.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.23; Fri, 27 Sep 2019 13:08:30 +0000 Received: from VI1PR04MB4480.eurprd04.prod.outlook.com ([fe80::74ce:408a:d65a:3f4a]) by VI1PR04MB4480.eurprd04.prod.outlook.com ([fe80::74ce:408a:d65a:3f4a%4]) with mapi id 15.20.2284.028; Fri, 27 Sep 2019 13:08:30 +0000 From: Nipun Gupta To: "pbhagavatula@marvell.com" , "jerinj@marvell.com" , "bruce.richardson@intel.com" , Akhil Goyal , Marko Kovacevic , Ori Kam , Radu Nicolau , Tomasz Kantecki , Sunil Kumar Kori CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 02/10] examples/l2fwd-event: add infra for eventdev Thread-Index: AQHVcrxn+/k2CgjnyUmSZyTBjpOsh6c/fB/A Date: Fri, 27 Sep 2019 13:08:30 +0000 Message-ID: References: <20190919101346.8832-1-pbhagavatula@marvell.com> <20190924094209.3827-1-pbhagavatula@marvell.com> <20190924094209.3827-3-pbhagavatula@marvell.com> In-Reply-To: <20190924094209.3827-3-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b84a5b36-5e60-4cf2-ace1-08d7434bcb34 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR04MB4813; x-ms-traffictypediagnostic: VI1PR04MB4813:|VI1PR04MB4813: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(13464003)(189003)(199004)(11346002)(25786009)(478600001)(256004)(6246003)(186003)(2906002)(71200400001)(102836004)(7736002)(305945005)(99286004)(66066001)(26005)(76176011)(486006)(7696005)(8936002)(74316002)(66556008)(476003)(6116002)(3846002)(33656002)(66476007)(6506007)(446003)(53546011)(14454004)(110136005)(71190400001)(64756008)(44832011)(66446008)(66946007)(55016002)(86362001)(9686003)(6436002)(81156014)(81166006)(2201001)(76116006)(316002)(52536014)(5660300002)(2501003)(4326008)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4813; H:VI1PR04MB4480.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 65ymW4v2VUsoi++W6GQk43aUAeUW2e1DXfIpskgS2gxbTeGsvlErb1TMQIQtTbnH0Ng7wm4osCvQkjRy/Z/eu6s47aGwG8xQ4Q7GAafLimJtf/oNE2jri098bAEexnpkC2svnYSgdXvqlNGdu97WSZu6sBoDTPzPDl+YRSQW2c2/+YtbjkK6fVHEg4qeV4CkYadnI69EqITJXHNVRisW0Gej9v63ip8inpNxPXSmI/XL/8ZSpNvkdPgRm/arF82Kxrru1xeKoTC+p2o8InU4JWGA3caLGVwZC4uQc9yCG9qBxcdRLSdBIQkop2dzMfJ7xWZN3cpGIZlcCouEefGbDqDGNhYLfB8v8TaL4dDanpse8o+/Vc+I2FC9XDawWtpbEVtRcoy+HT/8nT5AxYFpuYsMlG0ft1wYKNz1s7QlX9s= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b84a5b36-5e60-4cf2-ace1-08d7434bcb34 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 13:08:30.5500 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vnoFSZsmK9CSwYy53edgRvhWLnzvt70i3KdYnkHp2CXas9Reb/nN9+RLjKngFR/yzvfSolfdWZcIIozeU3laPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4813 Subject: Re: [dpdk-dev] [PATCH v4 02/10] examples/l2fwd-event: add infra for eventdev 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" > -----Original Message----- > From: dev On Behalf Of > pbhagavatula@marvell.com > Sent: Tuesday, September 24, 2019 3:12 PM > To: jerinj@marvell.com; bruce.richardson@intel.com; Akhil Goyal > ; Marko Kovacevic ; > Ori Kam ; Radu Nicolau ; > Tomasz Kantecki ; Sunil Kumar Kori > ; Pavan Nikhilesh > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v4 02/10] examples/l2fwd-event: add infra for > eventdev >=20 > From: Sunil Kumar Kori >=20 > Add infra to select event device as a mode to process packets through > command line arguments. Also, allow the user to select the schedule type > to be either RTE_SCHED_TYPE_ORDERED or RTE_SCHED_TYPE_ATOMIC. >=20 > Usage: >=20 > `--mode=3D"eventdev"` or `--mode=3D"poll"` > `--eventq-sync=3D"ordered"` or `--eventq-sync=3D"atomic"` >=20 > Signed-off-by: Sunil Kumar Kori > --- > examples/l2fwd-event/Makefile | 1 + > examples/l2fwd-event/l2fwd_eventdev.c | 107 > ++++++++++++++++++++++++++ > examples/l2fwd-event/l2fwd_eventdev.h | 62 +++++++++++++++ > examples/l2fwd-event/main.c | 39 +++++++++- > examples/l2fwd-event/meson.build | 3 +- > 5 files changed, 209 insertions(+), 3 deletions(-) > create mode 100644 examples/l2fwd-event/l2fwd_eventdev.c > create mode 100644 examples/l2fwd-event/l2fwd_eventdev.h >=20 >=20 > @@ -288,7 +289,12 @@ l2fwd_usage(const char *prgname) > " --[no-]mac-updating: Enable or disable MAC addresses > updating (enabled by default)\n" > " When enabled:\n" > " - The source MAC address is replaced by the TX port MAC > address\n" > - " - The destination MAC address is replaced by > 02:00:00:00:00:TX_PORT_ID\n", > + " - The destination MAC address is replaced by > 02:00:00:00:00:TX_PORT_ID\n" > + " --mode: Packet transfer mode for I/O, poll or eventdev\n" > + " Default mode =3D eventdev\n" > + " --eventq-sync:Event queue synchronization method,\n" > + " ordered or atomic.\nDefault: atomic\n" > + " Valid only if --mode=3Deventdev\n\n", > prgname); > } 'l2fwd-event' -- --help does not prints this help.