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 1B0A3A034C; Thu, 18 Aug 2022 10:01:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F131340DDC; Thu, 18 Aug 2022 10:01:52 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80045.outbound.protection.outlook.com [40.107.8.45]) by mails.dpdk.org (Postfix) with ESMTP id BAEBE40156 for ; Thu, 18 Aug 2022 10:01:51 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=H/A3TZmUB1ucukRsVOqKMCRhkKqrkipBFOk8c4/kMHZhxe5G3LUaO1MCJntPU8iRV18VATWvvXY9MlhJfkrHFQKtLw1pTF7O2Dgawy2R9XCijcj9PvTN/VK8JZ0303PC2GEJEjaWjDk4ljJ1i1fWS1xu9/78Q9Bn4TPmIElEyBetMWVqXqEHdLtDEnRuP8mT+KOVE1bNu676V7ZpsCtDGIfo3qWmEpfspT6/5BWpeGdZ+erqOYFW89u4r7EPQYIfvUg7wX9LSQVrhWd2+BdhrjvGbWGVKJyNh5kWb34iJpYet/CXu+6Vu03Fa2/mY7KLZ8B1PT2oSquQCAOa2BhCsw== ARC-Message-Signature: i=2; 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=5rMTW7iaEfHBxM9rlrFo0DCt2QOKFErgsJvhU62lztw=; b=lHvqataVurjZHPa/cp/s977LaOz7IKjE1d2FcAKc1LUlMBJmfSfq/UkRhJLVbW7pxOXXxpZTEgn740kKESlc2PxcCzNEffjRpLU5GlzSr8JjTJzrsn4vrohtqn9QbiwW4m2TqOjO9aSgftlQNwuCnpCVH3j/5Slb8nLBVNtVCSG1FaDWalUvNNGzT/dDmKQAoXrntrLYkjTOXRt/Vet7i7HzjrABH/VItJyngnAU61YYuRMjhQfYNb0dsZnOitNjaU8FjpMVDE4XHqYi4IPTUUNbVHyBi1MnwJkRqk2w4J99Y3rU5meiSuIMs4fU/7gnohzSx9/1be3Ms6MbyAPEOA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5rMTW7iaEfHBxM9rlrFo0DCt2QOKFErgsJvhU62lztw=; b=QmKWfFR7j2n7qMLU4mlYUtVIlxXrXdUq16NQEXVlpI8+FNDE1kg+pcL14OOixWhynAX2/NVCOOKSn3OdXS8DVRRq1I7b0453KEe74WFWg85IhVrByIAXY5Ob6nVRWcNdEEPutMQ5NxqqpbTU8y/s4cF4RsWgeQ7oONp8uaNb7Fo= Received: from AM4P190CA0021.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::31) by DB6PR0802MB2456.eurprd08.prod.outlook.com (2603:10a6:4:a1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Thu, 18 Aug 2022 08:01:49 +0000 Received: from AM7EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:200:56:cafe::16) by AM4P190CA0021.outlook.office365.com (2603:10a6:200:56::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.11 via Frontend Transport; Thu, 18 Aug 2022 08:01:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT046.mail.protection.outlook.com (100.127.140.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.15 via Frontend Transport; Thu, 18 Aug 2022 08:01:48 +0000 Received: ("Tessian outbound 63c09d5d38ac:v123"); Thu, 18 Aug 2022 08:01:48 +0000 X-CR-MTA-TID: 64aa7808 Received: from ba371449a805.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AC39F6F1-3561-440B-8B6C-C588065D937D.1; Thu, 18 Aug 2022 08:01:41 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ba371449a805.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 18 Aug 2022 08:01:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dtXiFiexFudw3eXVifkIM+cfocTtUMCFtBMGCas21Q3HD7Hd9Uj/FolZ4YBRzKAK9fb7XSyyjOaj1oL89RT16Gz0JBogaZcrtlAO+iEnqup6/T0hxIPHFujN5eMlQMalYuIAtfm8QQ2c5dBy5hReJ2/8fEIbbFb6hadfzVtifjSYEWPFPCpaVMHRCX69AEtqWe8/fp+Vv9eZUY4yaRzCy0jIJcQQkSOANqhdVZiYt4GUP4wdCAhEhSVQcft775CusAY7hYoc3wHdWpVw4aPUFPm48yRv+Edb5Vhetf/DfVtYDn8cGc8yKUqwskZ47s2k0tg3aNUgWPIX9eGV3/oujg== 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=5rMTW7iaEfHBxM9rlrFo0DCt2QOKFErgsJvhU62lztw=; b=N/Iu9Frhxr2gj8ewELZxYCB3kwTez6nHFm9Dn9i2fXq2ASTiTN3XhFRdEWiXpo2EFOyA2QW20G0t79QXA/c3Os30nTh5gQH9HYc2KvxUwVNDg7HBYWhmir5J6ZXRY0SbiB7g5pSHHZ7NNrHJA/OggiA45h33ur36ajtAIKBT/AGUjB/YyUL2LC9wqu7WbZbCSFwxUmiBZtou4M8zIIiMxDC3bwKoj8u4HhSuEqTZtdoTu1iGB1vwPSX92ZbDe5Fql4hOFtUnE47rD0j+P/6RarTrQ10oaXCPaZi9346NUfjrT4guwOdF7rY/cYR1W3ZeASUI0CA+QEued1D5HdnlHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5rMTW7iaEfHBxM9rlrFo0DCt2QOKFErgsJvhU62lztw=; b=QmKWfFR7j2n7qMLU4mlYUtVIlxXrXdUq16NQEXVlpI8+FNDE1kg+pcL14OOixWhynAX2/NVCOOKSn3OdXS8DVRRq1I7b0453KEe74WFWg85IhVrByIAXY5Ob6nVRWcNdEEPutMQ5NxqqpbTU8y/s4cF4RsWgeQ7oONp8uaNb7Fo= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AM6PR08MB5077.eurprd08.prod.outlook.com (2603:10a6:20b:e6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Thu, 18 Aug 2022 08:01:39 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::8d6b:a2d2:5fbb:e398]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::8d6b:a2d2:5fbb:e398%4]) with mapi id 15.20.5546.016; Thu, 18 Aug 2022 08:01:39 +0000 From: Ruifeng Wang To: Nithin Dabilpuram , Radu Nicolau , Akhil Goyal CC: "jerinj@marvell.com" , "dev@dpdk.org" , nd Subject: RE: [PATCH v2 5/5] examples/ipsec-secgw: update ether type using tunnel info Thread-Topic: [PATCH v2 5/5] examples/ipsec-secgw: update ether type using tunnel info Thread-Index: AQHYsm1OzRN37y+VgkqO213ZIQH86620TGSA Date: Thu, 18 Aug 2022 08:01:39 +0000 Message-ID: References: <20220707072921.13448-1-ndabilpuram@marvell.com> <20220817191146.30085-1-ndabilpuram@marvell.com> <20220817191146.30085-5-ndabilpuram@marvell.com> In-Reply-To: <20220817191146.30085-5-ndabilpuram@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: D9A8E6AAF20ADF4AB818D6A7C77EE15C.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: 07f59374-80bf-4978-935f-08da80efe716 x-ms-traffictypediagnostic: AM6PR08MB5077:EE_|AM7EUR03FT046:EE_|DB6PR0802MB2456:EE_ x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vgh9/Qzx/b3+J1C6lUZYb65gXWA+VJitksfIULxDzYe/1DzEQqHs2lyAw6o6CCNHOR2055LXa9ZIhNJaXI+vQ3kzEu8bVf2elWg50B+N/5it//qVIqqtsl01Cn+dO27nqkcj4Ge2zQVn0zwHem9vrYDT1LhPxgC8Si6L/TOddQvfFDogzc3U19VhoMRXtsJNp9Oe+k15TpxUJCFrucvxrXbodOlPd6qtrLu9Hk1+UMV+lI/aDfl2iGblltiNVI/o8eYxUVGB9v+axCNnhTSJuJXSvFPiEljRWYlwzlxlJusRKf4BZwdIeDGuMoB8cMi+SC3BCbBJJ/b9YyZVry+aguwpV+l1jRd/2raPo1sMjh/O3NgB4hB/1wUv+VQdkZuQqvPYmZ5y+MIHJzElYUXk/iNccEkWCHCRQ+MO80lcaua5bZEbkXojbY4wfWtAUTzLNDTkDo1LKz+6HPwx0sRfEjAyXhaywkm3MfbsxcHQMCjW5f3QRTOOAZHyp4pJPbIACJls55jhJmFV6ygFUONAK4VIfdjMyuY+TdL5Hm3OreY+Rb+3jCgz1QaJnuU2Y0rKXtFxz0Yp5Gzx24GDefXdorJ0oEauBGtijdEDL+xV3azHvpo0PpCuF6hlnBnesbmZMRxTm9PyyKrl4643TqAukOVBSekI70TwwZifsVmnnFcWUrqUy/hcCVDT93vzIvCeQ18NEv1R5QX7mr0EajMYxsSviIOKl3T4e5fFwPcqzx49U5HHaAIx7i0h8N/NYrD4mx3cewUQmV4mrN6uTkjAiQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(136003)(376002)(366004)(39860400002)(396003)(346002)(110136005)(6506007)(54906003)(8936002)(122000001)(83380400001)(71200400001)(38100700002)(55016003)(316002)(7696005)(4326008)(8676002)(38070700005)(33656002)(64756008)(66556008)(76116006)(66446008)(478600001)(53546011)(66476007)(66946007)(186003)(52536014)(4744005)(5660300002)(41300700001)(15650500001)(2906002)(9686003)(26005)(86362001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5077 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9a34bd13-e432-436f-2d20-08da80efe199 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2FBvSMAr4VFO0/JLWS5joM8PCyU9snfKtmPxS1BFt9pMysYlj3D8CapWMM/4kj/VhVP6aiCkBxVwNMuo30DagJAOsI6N+0Rk2ilpefiLBAQlDHIi4NpCoTU5zD98N9J2qfxEpbi8FI9TUwDPz3c4edr+RBHTFrkj9y59OWH6E6E65BNGy80xpW7ZMwNz+9ksTqv5tPw2fgoAIKMLQlAew8jKVm2Ld0QShPY2lDT2KsC7Nx64G8a1roh2+CkSubvepSHgxRtdFbhugHI9qh1ArVVDMqTXcyc3N3iyaqi71P4s7hLog3RyeazGysWEP/zQAMgAFxb6l3tDSTMnn9UZDNuMG5pSinSuxUBHUwHmOkn/dP6jda2UDZveElck10S5Dz7yIkzLMF+dcPwn8ScncoFsMk+LH9rt7aDc9G9x6CjB08pJCFOzJ9GAw9nc18P/Bwcy/34fbsGCCZwPiD2W7JMo1CSQ/Cs55twP/HCAbcFZ1t4TOnoRGI2XJL6OmaoSQ7/xzymOEZagiZZiFC7Wo4PoshiHQsCzyQv9J3TcrcAI24bVjsRB3O7OcwbPJsC6Zx6MZ8SMjJB7jaLtVG53JFUR+5fvAD8yB+Qwb6HBK2Qg6nGFgTGNLEQsPDurDLALcSLtrfiaxcYuFBLxan8JtxK2RKdEzCJaeYUNZiVZaCOL/nWY4YYvf+qJhppxE2HNeZMuJ//7KbSRRp+1r7wv2WE0QF0mfNvIfs45IZaV6Dsg01mWbRWPPsi6pUSDJVjwsefUAICLTSKbbdFMCn/wBg== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(39860400002)(346002)(396003)(40470700004)(46966006)(36840700001)(40480700001)(83380400001)(53546011)(41300700001)(26005)(15650500001)(6506007)(7696005)(9686003)(40460700003)(55016003)(82740400003)(4326008)(356005)(8676002)(81166007)(33656002)(82310400005)(36860700001)(336012)(186003)(86362001)(54906003)(4744005)(110136005)(5660300002)(70206006)(478600001)(2906002)(70586007)(52536014)(316002)(47076005)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 08:01:48.8277 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 07f59374-80bf-4978-935f-08da80efe716 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2456 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 > -----Original Message----- > From: Nithin Dabilpuram > Sent: Thursday, August 18, 2022 3:12 AM > To: Ruifeng Wang ; Radu Nicolau ; Akhil > Goyal > Cc: jerinj@marvell.com; dev@dpdk.org; Nithin Dabilpuram > Subject: [PATCH v2 5/5] examples/ipsec-secgw: update ether type using tun= nel info >=20 > Update ether type for outbound SA processing based on tunnel header infor= mation in both > NEON functions for poll mode and event mode worker functions. >=20 > Signed-off-by: Nithin Dabilpuram > --- > examples/ipsec-secgw/ipsec_neon.h | 41 +++++++++++++++++++++++++------= ------ > examples/ipsec-secgw/ipsec_worker.c | 30 +++++++++++++++++++-------- > 2 files changed, 49 insertions(+), 22 deletions(-) >=20 Reviewed-by: Ruifeng Wang