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 8799945B42; Tue, 15 Oct 2024 16:41:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32F7C400D7; Tue, 15 Oct 2024 16:41:02 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2058.outbound.protection.outlook.com [40.107.94.58]) by mails.dpdk.org (Postfix) with ESMTP id 0A626400D6 for ; Tue, 15 Oct 2024 16:41:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OBijl+6G8q6xqi+88um2+QRfAFdvvB3CzAAfutKX287ox7pxR0tXRiPDGAk0HOcPFVTuNk5jX9RyqGw5+cE/lZ72ZbOaDJ9Nxgn+Wg7092z2pi/iDuPBbYxEpsYPj6VR02QsOVOmLGdknRYMdNoSDw2JXafieriNfBRV7y2d254RX4ZlsNaJWW9asL5cmJoNA0brk7/V4Y29b2laE6PZ842UgW5SxVjI/EjxHnO6yMYdgeRs3Vd7erQ8McCsSGPF+UG3MjrO+RxW7FAGLwxK/YRqzcroChm8PZixI0lwDrnyVTAi/7kQeiDVrMU5eOqCobX2E+Z0j98xb+Cg9dnBNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=tkw2T4kT2+e1ht2gr9aKqVt9WVFO43gHqWrRBdWrPtI=; b=bvZhNbeivHP97a0QPtfVHHQmE/ZsApmu45199Hy1mbl74Xwa1hWnUckvzDgS2ssPSqni+XGb8ZMMtsbx90z67zcmxevl5vfgs59tTGFSNJF2P+dHhDluxPMBj7NWTyyJ4xHrAArS8Q7QZ1/RFVi82OxT/BGuz3iTEcuymF2FQxm0N/gnDOgGaJOUm9Rtp8nB50WhocqkQ2iziTqItPWXLQhCBPxYstj0QMu8Rhbo4D4EkAMbe8Jl/AVy74AjYqOfjqaZ/7xxFGfuashQVxJUIPTEPnVVoZremLQZCKFqsF/fleYCvbGR11+0Eh9yOb8C7dUBIdIhLpx2oqlOlZ79sQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tkw2T4kT2+e1ht2gr9aKqVt9WVFO43gHqWrRBdWrPtI=; b=TFn9YvtnD0hM2o4sN0rjic52RaezWGkDwgqpux/UOlQFZ0ggY5Hkxqdvzl8Wozlx9Yy1W0wJiNE9HIIw79SqQuiyQtEE3qNz7x724gZ5oTipGW0vCjUIP6vhqtV/60RtXo000eUKaGtDKGB2Iq8WwtidtlHkTQjaYeBA1E10XJOlrYlvV4K4HWmcsuJC3IrYZHvfV/cavuVDyVlTJ3DUcMJL9tnmOUBX6TICxig++C/Qv7I2dziJHRWJS8F+QQaqCYBwCCjlUYWCP43Z3BcAOdvCL6XnA0o2cLsvC3a9YB1auOGIobnJFRDqL2oN2oljSownyv0yISYomF7NjPnIwg== Received: from CH3PR12MB8460.namprd12.prod.outlook.com (2603:10b6:610:156::15) by SN7PR12MB6816.namprd12.prod.outlook.com (2603:10b6:806:264::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 15 Oct 2024 14:40:57 +0000 Received: from CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5]) by CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5%7]) with mapi id 15.20.8048.020; Tue, 15 Oct 2024 14:40:57 +0000 From: Dariusz Sosnowski To: Alexander Kozyrev , "dev@dpdk.org" CC: Ori Kam , "nithind1988@gmail.com" , "olivier.matz@6wind.com" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Matan Azrad , "jerinj@marvell.com" , "rbhansali@marvell.com" , "ferruh.yigit@amd.com" Subject: RE: [PATCH] mbuf: add transport mode ESP packet type Thread-Topic: [PATCH] mbuf: add transport mode ESP packet type Thread-Index: AQHa9KiUYPGqzdKVLEijzGVghTrR7rKINgRA Date: Tue, 15 Oct 2024 14:40:57 +0000 Message-ID: References: <20240822153218.3782170-1-akozyrev@nvidia.com> In-Reply-To: <20240822153218.3782170-1-akozyrev@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR12MB8460:EE_|SN7PR12MB6816:EE_ x-ms-office365-filtering-correlation-id: 2c1549b1-434f-4690-26c3-08dced276189 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?ZcWcoJ6eW7kUgQZtZEXYVMn9P205iiehOlVJklPsNwVeNWdPoZsVpeF2PSKu?= =?us-ascii?Q?ILdYVhwmhe/MmyPlSVlfGiMyRIjIXPUw0Wr+91loD0JEMPEOn2eXqVuAK4yA?= =?us-ascii?Q?Ne2kJxiTBZR2WN1gKfHBueeF5XTA4JMjNgq4DdEwc9q+XARV3rtv9YxPLttC?= =?us-ascii?Q?aFn4bULxGYrRpgst9bcYU9PNNzw/Hx9Dkmlvgugo+qz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xETT55pW6QprURoxkupv3QyyFbPDIPmep6ajR5SJXNuCwLG?= =?us-ascii?Q?31Qcpq6OHW1JZU6gNSzRqWMl96dRMB44aB/p/spU5vOQPoCla+gVqIoewG2/?= =?us-ascii?Q?PI8YEd8AXSxO1Ty2nfCisL8lta4dpqkvxE/GHjQ3M7NM6JZPR3xlkuj2bOXO?= =?us-ascii?Q?mhfoeQH4gAEyVBhwqnqC+TW2INWKMEIrjDt5mAaOv+230I7v+p5zJ813Nvo7?= =?us-ascii?Q?eqZxbMoiTCrQo0w56+Tg9xzkhaerlC7TunVjC8Tj5fh09w=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8460.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1toeeJXgpMc/MN7Y/vLqZgIACkfbX+TbBeOZgBMrjE1bbFP2mulAmVaorSwg?= =?us-ascii?Q?UPNZSM7vRbaO0ytFSKMndW81PGA+FAIWm69SGIp7L50EROdpMaaRTWNSQMhk?= =?us-ascii?Q?wkG+/yC2zf6syrYnF+zPWXWOG53ElsoY+j5VQoIIMnn3og4Ucrzeect1UFmr?= =?us-ascii?Q?JT6oph0AgKFBZTGV2MMFalnq6lgcNqdSR6NyGPw+cTNh4eEeoN5NfOroE5n6?= =?us-ascii?Q?wckADj0PXGq0OubTh+3GAvpz+CSS60Ydy6dlhLbr6HJfRN5cIKzP560NGT6r?= =?us-ascii?Q?I4/i6PYAjer0OzFzQJnKQqunCoLztzVNgCPioOOvGS8T0k5hXfKIhhEpT28/?= =?us-ascii?Q?E87v5SgB2PrHVouxLjnWn2aqiKRGr3waQGz/C88mk2XlGAJ4AG5SEUoG2JZj?= =?us-ascii?Q?yg0fi1r9H1x0QbLcZD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0X7/WM9?= =?us-ascii?Q?kD/GzWou1jW/gzSHcCAeMPYSP+9rwAXtdpG4k6hkHdwYeYq9AIdZausSVGnG?= =?us-ascii?Q?fmKOVieIGk1YoIdWAZKeCVs7QbDEYrToUxtWbp8PeNhfXmRg7Y4QRR+CZ5ZW?= =?us-ascii?Q?xekPXf6/QudRfV6eawf1npskxRKumdhJwVyUgDsQP5/bfGB4VGmT3o9Yz9Rn?= =?us-ascii?Q?CobdJg1C3967JAJ4Y9z8u36GXWhtsQ88INQBEdaMwkDMDphejvOILYoWUv8N?= =?us-ascii?Q?IDhpYPGXmo7+8zcXIi8EVSADCQ8vY6m28Vn1hdAP?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8460.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c1549b1-434f-4690-26c3-08dced276189 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2024 14:40:57.5344 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 73pmg9z54ze4v/Hj6Pbzl7e87W7WpklUjhYk/qhqxeNz3+KqaRl4vyWpSfb8StRhKaf580lAd82ybhFIm108uA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6816 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: Alexander Kozyrev > Sent: Thursday, August 22, 2024 17:32 > To: dev@dpdk.org > Cc: Dariusz Sosnowski ; Ori Kam = ; > nithind1988@gmail.com; olivier.matz@6wind.com; NBU-Contact-Thomas > Monjalon (EXTERNAL) ; Matan Azrad > ; jerinj@marvell.com; rbhansali@marvell.com; > ferruh.yigit@amd.com > Subject: [PATCH] mbuf: add transport mode ESP packet type >=20 > Support the IP Encapsulating Security Payload (ESP) in transport mode. > Currently, we have RTE_PTYPE_TUNNEL_ESP for the ESP tunnel mode. > Transport mode can be detected by parsing the "Next Header" field. > The Next Header is TCP for the transport mode and IP for the tunnel mode. > Add RTE_PTYPE_L4_ESP for the regular transport mode and > RTE_PTYPE_INNER_L4_ESP for the ESP over UDP packets. >=20 > Signed-off-by: Alexander Kozyrev Reviewed-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski