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 5A2EDA3160 for ; Wed, 9 Oct 2019 09:50:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4F6F1C0AF; Wed, 9 Oct 2019 09:50:57 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60044.outbound.protection.outlook.com [40.107.6.44]) by dpdk.org (Postfix) with ESMTP id 91B9C1BFBA for ; Wed, 9 Oct 2019 09:50:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YGaZ9n/LNZGjNfiB6vLRJQP0jiOlXS+spoEfbnN3IV4k3uA6n0xm5W4CfeOFtgYMRrsbk8LWiH8tVnrLhGreV/jMfWpU3vJhHLF6M7RJOY7W/o+cwHHJb9X3dHpK0sx+bdwBn/fIyagAlednvr4UIJcKUj6CDoAI69IvZGL1scuEd8Lc1fFPVyVDXeH3hCaoshaOIRwONqks0zHwiBuFmRIp3kVbLWNXEZ5iwgNw/ufK0CdTa4B1YosMRwsLfklMqV3q6djSItf1n1By16LYBnti55I+5hW/EuSjvhN86Zqxaiw0IrVXo2Oyxf7FgB3Wzg1wCWpbUMXbNTsau8fJQQ== 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=YJOal8LG5tXkjfJXfCvLtp+eaYjHLeTmdeyI4hQf9Zo=; b=etrS2g8eGTRLuYgRwvU1hw0M/db4QQr38alJIfKgmNdxDKnFnFci609wl6Ff/khuvgnmXbwUSlanb8LxkfeLBR6b//kbKHZo8lHpwu0YplrOOX39AXy9x1kGPo+Wf7lyG/mkzHkU1xjETbQq7P0RZQxYVmJQa97LeJOZZ0jcMFZIZPmyLC8ULkrtgEVwCV4n4hugr0pcmpVrk5z9VVeofGE1ff9+sTPyzd4NMWDiR86FNQfVcfoazCWDjXK0QPkpXwXnwgOqEIHNvinXavMIvKxYKcZLPpvB9QUPsjmxpY5i33nKisLtEMiYXoRw/Nk6UegrE8EF3Bwi3ABP4bQhtA== 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=YJOal8LG5tXkjfJXfCvLtp+eaYjHLeTmdeyI4hQf9Zo=; b=F4zH3tEzQx/nrqn0djVyMX3CCrWKUZLZGpvSoAG3Obp5kcm2nPy/rJaGf0SbIjSY5d+LAgEpnzJqV0g+ngVYbkfSVEzrUpf+XcsnZlebzotvODAY+4CmFYOuruegWPHZI9qT7rm4tvwZ9FXRis2BZxE9pY0/Fe9Tkz5aRZv2bSw= Received: from VI1PR04MB4480.eurprd04.prod.outlook.com (20.177.53.224) by VI1PR04MB7070.eurprd04.prod.outlook.com (10.186.156.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 07:50:55 +0000 Received: from VI1PR04MB4480.eurprd04.prod.outlook.com ([fe80::681a:2c5b:e170:683]) by VI1PR04MB4480.eurprd04.prod.outlook.com ([fe80::681a:2c5b:e170:683%6]) with mapi id 15.20.2347.016; Wed, 9 Oct 2019 07:50:55 +0000 From: Nipun Gupta To: "pbhagavatula@marvell.com" , "jerinj@marvell.com" , "bruce.richardson@intel.com" , Akhil Goyal CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 00/10] example/l2fwd-event: introduce l2fwd-event example Thread-Index: AQHVeWQXGjyTF+ZbYUOvQ0k+nw/tSqdR+Vew Date: Wed, 9 Oct 2019 07:50:55 +0000 Message-ID: References: <20190924094209.3827-1-pbhagavatula@marvell.com> <20191002205754.11746-1-pbhagavatula@marvell.com> In-Reply-To: <20191002205754.11746-1-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: 6a61c566-7ab8-41f1-d673-08d74c8d6a60 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VI1PR04MB7070:|VI1PR04MB7070: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(346002)(136003)(376002)(39860400002)(13464003)(189003)(199004)(6246003)(6636002)(6506007)(14444005)(53546011)(99286004)(186003)(2906002)(76176011)(6116002)(7696005)(2501003)(256004)(3846002)(7736002)(305945005)(33656002)(102836004)(74316002)(26005)(966005)(66946007)(4326008)(76116006)(478600001)(5660300002)(9686003)(446003)(52536014)(66066001)(14454004)(66476007)(64756008)(66556008)(6306002)(476003)(25786009)(81166006)(81156014)(66446008)(8936002)(486006)(86362001)(71200400001)(2201001)(71190400001)(229853002)(55016002)(11346002)(316002)(45080400002)(110136005)(44832011)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB7070; 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: BCL:0; x-microsoft-antispam-message-info: XrqM7xcRX+IPvQKo0CGOhqANDgXcqfPx/ukav5qXvbaWjfWRLah75CZ7IpeklkDHfsi3F6KaABVKKO61KsU6K3OkMQyj/xJ0BjTFsIshShClMiF4WquEDuM8DU/nEXP/Y3X2KvCGJnJYcJclg48PtMQA7q3x/mGJlg6LPhRYHrPwStNTgGe571oa4DI4DC4b8yY/GTKiSRshX/H/OQmskLTkq5mrRABqG5U+HND1n6qxEWCMLhIYPS3MEg9gkZuOdgBNGVcz6HP9N5XhvPRV7TLpxGbvqd0USQnnU1NKD9obzx8qsvvDas62yX3nkX7FiIwShqwEW2DZM5AJlyfCdCFoPhhUfrVPhW5j7ABZybY2monqYRC+5tYuEvgxJipHZRhS6GstL9DLzk8A4W7JCIlvlIpwuthYpImc5rcdzngeFN6T/aMaK3EadVNwWa7CroHKJ1gNiokaelD4Ti3N3g== 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: 6a61c566-7ab8-41f1-d673-08d74c8d6a60 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 07:50:55.3606 (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: pJ9dza1kA/n/dls08//UvoZk+jlMd5CNp9BWObe80QVWgG/xy1uDkrcuu5KsJxvj74NASwLuQWmlr2PPiJWQkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7070 Subject: Re: [dpdk-dev] [PATCH v5 00/10] example/l2fwd-event: introduce l2fwd-event example 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" With parallel mode support and series based over top of: https://patchwork.dpdk.org/patch/60762/ Series Acked-by: Nipun Gupta > -----Original Message----- > From: dev On Behalf Of > pbhagavatula@marvell.com > Sent: Thursday, October 3, 2019 2:28 AM > To: jerinj@marvell.com; bruce.richardson@intel.com; Akhil Goyal > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v5 00/10] example/l2fwd-event: introduce > l2fwd-event example >=20 > From: Pavan Nikhilesh >=20 > This patchset adds a new application to demonstrate the usage of event > mode. The poll mode is also available to help with the transition. >=20 > The following new command line parameters are added: > --mode: Dictates the mode of operation either poll or event. > --eventq_sync: Dictates event synchronization mode either atomic or > ordered. >=20 > 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. >=20 > v5 Changes: > - Redo poll mode datapath by removing all the static globals. > - Fix event queue configuration when required queues are not available. > - Fix Rx/Tx adapter creation based on portmask. > - Update release notes. > - Unroll macro used to generate event mode functions. >=20 > v4 Changes: > - Fix missing eventdev args parsing. >=20 > v3 Changes: > - Remove unwanted change to example/l2fwd. > - Fix checkpatch issue > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2 > Fmails.dpdk.org%2Farchives%2Ftest-report%2F2019- > September%2F098053.html&data=3D02%7C01%7Cnipun.gupta%40nxp.co > m%7C059055e10dcd4ef59a8808d7477b3894%7C686ea1d3bc2b4c6fa92cd99c5 > c301635%7C0%7C0%7C637056466870802064&sdata=3Dq6qdS3IELoe9ry3mf > TVjtZgRLxcYIWW%2FnYaeacHpixM%3D&reserved=3D0 >=20 > v2 Changes: > - Remove global variables. > - Split patches to make reviews friendlier. > - Split datapath based on eventdev capability. >=20 > Pavan Nikhilesh (5): > examples/l2fwd-event: add default poll mode routines > examples/l2fwd-event: add infra for eventdev > examples/l2fwd-event: add service core setup > examples/l2fwd-event: add eventdev main loop > examples/l2fwd-event: add graceful teardown >=20 > Sunil Kumar Kori (5): > examples/l2fwd-event: add infra to split eventdev framework > examples/l2fwd-event: add event device setup > examples/l2fwd-event: add eventdev queue and port setup > examples/l2fwd-event: add event Rx/Tx adapter setup > doc: add application usage guide for l2fwd-event >=20 > MAINTAINERS | 6 + > doc/guides/rel_notes/release_19_11.rst | 6 + > doc/guides/sample_app_ug/index.rst | 1 + > doc/guides/sample_app_ug/intro.rst | 5 + > doc/guides/sample_app_ug/l2_forward_event.rst | 755 > ++++++++++++++++++ > examples/Makefile | 1 + > examples/l2fwd-event/Makefile | 62 ++ > examples/l2fwd-event/l2fwd_common.c | 148 ++++ > examples/l2fwd-event/l2fwd_common.h | 134 ++++ > examples/l2fwd-event/l2fwd_event.c | 455 +++++++++++ > examples/l2fwd-event/l2fwd_event.h | 73 ++ > examples/l2fwd-event/l2fwd_event_generic.c | 331 ++++++++ > .../l2fwd-event/l2fwd_event_internal_port.c | 306 +++++++ > examples/l2fwd-event/l2fwd_poll.c | 197 +++++ > examples/l2fwd-event/l2fwd_poll.h | 25 + > examples/l2fwd-event/main.c | 456 +++++++++++ > examples/l2fwd-event/meson.build | 17 + > 17 files changed, 2978 insertions(+) > create mode 100644 doc/guides/sample_app_ug/l2_forward_event.rst > create mode 100644 examples/l2fwd-event/Makefile > create mode 100644 examples/l2fwd-event/l2fwd_common.c > create mode 100644 examples/l2fwd-event/l2fwd_common.h > create mode 100644 examples/l2fwd-event/l2fwd_event.c > create mode 100644 examples/l2fwd-event/l2fwd_event.h > create mode 100644 examples/l2fwd-event/l2fwd_event_generic.c > create mode 100644 examples/l2fwd-event/l2fwd_event_internal_port.c > create mode 100644 examples/l2fwd-event/l2fwd_poll.c > create mode 100644 examples/l2fwd-event/l2fwd_poll.h > create mode 100644 examples/l2fwd-event/main.c > create mode 100644 examples/l2fwd-event/meson.build >=20 > -- > 2.17.1