From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 712A9A0545; Mon, 20 Jun 2022 09:49:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D667427E9; Mon, 20 Jun 2022 09:49:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 11A0940150 for ; Mon, 20 Jun 2022 09:49:49 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25JNE4Cx011897; Mon, 20 Jun 2022 00:49:45 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3gsc2p5xb9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Jun 2022 00:49:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PxRssDtTAwecDBXafz71qiF1L25CIivpeeDAiLpVRz6iCKztoeTao8ia24FZS59JayDtV2XXKEqStF5GJIdo2nXKkcbYJtv1Xl8TK5MXIowYBD8IQvn32LqviF/wZUSs6EgdX0zaGJlpp/12eSUeIVwabfM+CjhMgOpcMakOwvr32+F18wp6t0/aM0kEyozoClr7WZDNQJWbEWOgQK+BRwoOEUEFfqWW026ozo+05BbXT8uuEOKhj1wVnRj5qp5jyT/o5bV9+nMkci9tBVG+3s8yyeGudUl8R3Kbpm3zFw14tTGG9L8A+i3scStFxb9jHS3yggIMvNRvPOSJbcS0aw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BEg+Bwi9rvruFHA8SoVlYrUp91qD3o89liLIVohkcxo=; b=LTIg/d+n1SKtr7Jim80IH1Aua8o57xrz3dWbsHLkOWMnV/idyCRc7Z8R+qIO1W2gZLNmpoTY+VgMwLfouzmpL12DkyiGR66EXn+fuPBDSquS48NJuZK15uOT8JJMO3OL2iza7skZ1uwrA8oA6TEZIE5h0SGuAKyoEhQQ4W5HrkYcYLPm0Dm8GRHcL2JPYsrq1UFDqRKeVjKPZXpa+p1TmKvTEj+Vqq9SgYarHkGJRFHkp8ud2TbW3JDjmMtXvq48LBXehEdl5+a4bE22nqQJQcgoiBJbnDaWyKhJ5IuO2Td32y08AK4hJEUYU7ZMX3jxZkiUgjEHjA3Jxbbsnh2FAg== 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=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BEg+Bwi9rvruFHA8SoVlYrUp91qD3o89liLIVohkcxo=; b=ZjQDYYUoW3CTaTAZmfhTJ2Ffki6/0UbzhNfsCdkNh9pXq3gh9P8v3S2b9rmy5ttQRzRnHGtoWeJoDhsIMT8A0rpKYFtkWmhbMhwG/AOY7OCFeZHd7h7KccY541+Pf2GIDuuPjIiXhWhJFi+FWjkWZSiJtPjLPgtmfBJVIn1PuTo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SN7PR18MB4093.namprd18.prod.outlook.com (2603:10b6:806:101::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.21; Mon, 20 Jun 2022 07:49:43 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5%9]) with mapi id 15.20.5353.022; Mon, 20 Jun 2022 07:49:42 +0000 From: Akhil Goyal To: "dev@dpdk.org" , Ruifeng Wang , "thomas@monjalon.net" , "ferruh.yigit@xilinx.com" , "andrew.rybchenko@oktetlabs.ru" , "rasland@nvidia.com" , Konstantin Ananyev , "maxime.coquelin@redhat.com" , "david.marchand@redhat.com" CC: Jerin Jacob Kollanukkaran , Rahul Bhansali Subject: RE: [EXT] [PATCH v2 1/2] examples/l3fwd: common packet group functionality Thread-Topic: [EXT] [PATCH v2 1/2] examples/l3fwd: common packet group functionality Thread-Index: AQHYgh3kUZDi6nDc4UClNEXUEH5H4K1X711A Date: Mon, 20 Jun 2022 07:49:42 +0000 Message-ID: References: <20220524095717.3875284-1-rbhansali@marvell.com> <20220617074241.3260496-1-rbhansali@marvell.com> In-Reply-To: <20220617074241.3260496-1-rbhansali@marvell.com> Accept-Language: en-US Content-Language: en-US X-Mentions: thomas@monjalon.net X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b86a3f3d-c8d0-463f-3e60-08da52916ff0 x-ms-traffictypediagnostic: SN7PR18MB4093:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZtKKlOca3LJRB5Wosq80ESKMBF/7B2KmKVgxn/fkB2Eb1QjOCAZ0PiOliMrRDtyLlEHwGUti2ABUxdb0GRvnPCWC0lxO9yzxI7OEOloF1XMHCtbIZviXckK84UFJDH9PPr/8csl5jHfqxw3UeORMLfBvYcPKjBoStTroofRjpAtdai9TmAoDkrvtio+TbLHJzEd2qWE7WQphvpKVgB8QW8JA5WZ3KVeTZFjPC8BPDv38H0D6MHspfzg35dL1XvCCvSO0WUipD2RvvNkK+l9vp76vg953jSNSsjoeU5QGZpHix95tTWVBwG8hXZEak3E/mb7qbbQywaUCf1t89wGVcaTWA+3AEUa44soE4fQDArCtOEj3Tvvwx/tKQs3/h4Hh3yM6P1Pvsg6qNA8xcOWKxKmQKjoyDkFQxq0XbkgzFCujE7PEXFRVYl6KYR0/bNquBXCzomozqtcIMh1cR15bSDTWavzek2zxASSonhCeWq4Oh06FCnWIdXoeKLB7jOvcC5pCZOb0vCAFk8opzoT0fT1LmiTJxf6Nr7ge7qMVtQ8KTCUOlfvwHMEFwGOhQaNrJbIS4RUpHj12tkEmtU/x/G+hHsb/FqrKXYT8w2DUA35su+CAffc1aHLmQvfPl2R2eYZlaaLwSy3qzZ+64182v4OIRN2mvY0YnuRknm+vunCAE3u9IxO835Ptl2GyDnu7HMlPhRAd/2NE/m51fS1DKA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(396003)(376002)(346002)(136003)(39860400002)(66556008)(76116006)(66946007)(66476007)(66446008)(186003)(107886003)(83380400001)(316002)(64756008)(86362001)(4744005)(4326008)(38070700005)(2906002)(5660300002)(52536014)(38100700002)(41300700001)(9686003)(122000001)(55236004)(71200400001)(8676002)(8936002)(26005)(55016003)(33656002)(6506007)(478600001)(7696005)(54906003)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Kh4/8rEx1zKCchYTLqSmmdjzLWGLGwMmedtqzpaA7xrmTzet/u7fVQqopzZN?= =?us-ascii?Q?EWK8++4mroWCmjruzxZFamfQW+7YWzPNx0WzY6nYlBakOaNiSC79W97UU06R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URsA4CBkT2kwWaJALJwsOg?= =?us-ascii?Q?9ho3+D7FNqHwH18EO5hGDa2ACgUioYFKhINz840fhPJpJx2xGgmPoUy75VAO?= =?us-ascii?Q?EhbFq5V6gIhMRDJBPfcPEvEwFhXEwb1Iq+wXx9FWa/taVGUuOMIz0lgNYK0+?= =?us-ascii?Q?BJiyny7v4UHFzCiaTiOlGDL1ER5PwkcgQBWMUYWRO2fNB+beoiU/h/DadiwP?= =?us-ascii?Q?g5G80sJ5qoaiYsqaai95uOfJEaVIcqSAS+fO+9kmnSsg7xRDLPP3RQPLPoz+?= =?us-ascii?Q?aAynUy0VHd6WRvKWwtFo2yXNNZgb53DyeX2wmdg1amkOuRoZLfMS9DKoJwEH?= =?us-ascii?Q?EQ35DWFayMJqQ5gqj2IJgaYz/Kspz+XcwZRbNvfDrotqxtGDIlfzzyIcO5Wi?= =?us-ascii?Q?bRObvE+6PCo5QEOwPa8eB7/szgyHBFvykaDCt7BC/5DOIikDWa6mc2I6y2PK?= =?us-ascii?Q?4YhVp08st75M+ims4yrreq2s8FA3PVWG2G5YHYuz+WhbUO5+ypy3Lw+x4iNx?= =?us-ascii?Q?SbzkLQY3XrAa8ZPSDjuE3b89kC9GEwdN4Lxtqr/qHnbCWaZBD5oP9kaGoJSM?= =?us-ascii?Q?9GDfxMTUjMRAA8AZ07NSofAXOYcECMEBXZdLiqBbTxq3T5rLypu9+wEhASXk?= =?us-ascii?Q?qKdebwm+DCMQhs0CSl8Z0mrSa2kWj03mWjNidlU4Z3cHwz/FPtUFFxwPb6+U?= =?us-ascii?Q?fYnfIzmQVfVZvLors7J6USWvanhHAHV3Vi7lyp3tSmmP4VPlD+FijxGwLvR4?= =?us-ascii?Q?xBELm0AS2g=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b86a3f3d-c8d0-463f-3e60-08da52916ff0 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2022 07:49:42.7473 (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: u3H8MaJggQiOd4oZGdfFvfbNphGa+1q4AXLdKgFfE5poLWIy2WDmE1Gh0XfF3qHFFiwpiUcRhInp5Clie0JAlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR18MB4093 X-Proofpoint-ORIG-GUID: X7hDu3Q9ty5dDHwEonzaO4--Z7Z8IHdD X-Proofpoint-GUID: X7hDu3Q9ty5dDHwEonzaO4--Z7Z8IHdD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-20_05,2022-06-17_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > This will make the packet grouping function common, so > that other examples can utilize as per need. >=20 > Signed-off-by: Rahul Bhansali > --- Adding more people for review. @thomas@monjalon.net: Can this patch be taken in next-crypto as the patch i= s=20 primarily for ipsec-secgw? > Changes in v2: New patch to address review comment. >=20 > examples/common/neon_common.h | 50 ++++++++++++ > examples/common/pkt_group.h | 139 > ++++++++++++++++++++++++++++++++++ > examples/l3fwd/Makefile | 5 +- > examples/l3fwd/l3fwd.h | 2 - > examples/l3fwd/l3fwd_common.h | 129 +------------------------------ > examples/l3fwd/l3fwd_neon.h | 43 +---------- > examples/meson.build | 2 +- > 7 files changed, 198 insertions(+), 172 deletions(-) > create mode 100644 examples/common/neon_common.h > create mode 100644 examples/common/pkt_group.h