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 6FD99A0C41; Thu, 18 Nov 2021 06:52:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F24DF40687; Thu, 18 Nov 2021 06:52:21 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50043.outbound.protection.outlook.com [40.107.5.43]) by mails.dpdk.org (Postfix) with ESMTP id 4307740395 for ; Thu, 18 Nov 2021 06:52:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D81+EPQuSt8+m4PSZIKM55q2sPTMRrHH1TNl3IkolA5gTeFqwSHkICgibtMbcJVzKtoOWoRMB2H1TaNpgVeRtuBZm95daxO1AGZqiBU+f9g41aQMxNFOXZw3jko8WR1czdyPZsGX6lRsx4KnaeEMP8HJWV6EfrTCYONF7pqHmcomKXqmHyfTZrxAFvGYckR5AVLs890gGMPB68DB1mC6xmFSGfu21PT67yTolxPluxCR1X+hUX4hzV2aWwW6jm+rK86uEuqBh5L9P/LpbQOfKbelaBa8se+cooYh+idGfVSaxfmGxVy/zCkv/kJ772V9o86T3GKDP6VvzQt83xd+IA== 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=FAuPYdD/Y3KHRzlI9dq25PwSmMZhUD/n/NwVT8s8Tls=; b=DbM9UZNge5vyYywrQjegNdQnl14MziNqEZORdNYAXhLV0VVZq7LinO7bgHdNVQKab+ZeABV5Zhuj+kt5DXW+oUR+p2J8Z29pDj2AourlK0EB58LZV8hDX04qeUG32//hHWiw9lSnFsaWllgHYLYQC61xhybkWH61BCMS3uyD6mBeHkjD59x7VUtGxGfu0aocmlh2twk6CtAi8xpxNf/YNnBK+mFI/okNUKtfva7dh42j5zOsoljqjQpS4L7yABYBwL3My7aDkMhsGso44eqO24UUB6xoGiX/tDXmnu2zRM+T2shT332REtAVUynLoC0f7XIFJ4VNHgzHSJjbxeXw7g== 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=FAuPYdD/Y3KHRzlI9dq25PwSmMZhUD/n/NwVT8s8Tls=; b=Zm3M1XC+UmaOTQN1tucrwhcYBDOLKIbpOnHXTAZ9VlxS+zHn5AwyX0PCwLKkwInG5mkT7/zTJ+NsgMx7I1yP3Kg6HVqHkEw/tT/VQCzRQ6IzO374G3JUNg+amem6eWqT9as7fdXFh3TF2N67nC0B9rohz8RJuL1dj6qem57cRu4= Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AM6PR04MB5015.eurprd04.prod.outlook.com (2603:10a6:20b:e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Thu, 18 Nov 2021 05:52:19 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::9895:b941:f782:6999]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::9895:b941:f782:6999%9]) with mapi id 15.20.4649.026; Thu, 18 Nov 2021 05:52:19 +0000 From: Gagandeep Singh To: Anoob Joseph CC: Akhil Goyal , "dev@dpdk.org" Subject: RE: query regarding IPsec inner IP header TTL Thread-Topic: query regarding IPsec inner IP header TTL Thread-Index: AdfcMhGnV0V1JrUsSMqLEuv1KY3cswADRpmAAABLE1A= Date: Thu, 18 Nov 2021 05:52:19 +0000 Message-ID: References: In-Reply-To: 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=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0603b214-1aaa-46e5-dcb3-08d9aa579533 x-ms-traffictypediagnostic: AM6PR04MB5015: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6dTdwns7Mbl1O92FI+LexM/Ps70gz/k5vy4SJ6R4UADQbuv0J3GOMZfAwJuNk15+TRb48YL0/cZKkXDnyI/qXWRwV4cZNe3dVgFwsxV/vumbINTzq3gy3hDDbUaBd5zxlPjQggNOslMdFL/81Nd9AkUa/A3AmHLUXIBwvjX9BqVNm9V621fvLiyEAWtYV6ERetohV7hx4ckpNhSAHS9jNyTuDyvHTlv+fegDHTmunfxcn58Hxesmza4jYQsFj0dW7XQXKGzmxpoZqzOuHKUGf16NxZcPtMPQ8GEkAeBTPD6xrOmtVolgqCUliFfOiabLCFMYDegh8kIO+AbI3bC3HSPFRxJKrqJxpDWXNSwF/HvCxbLwJQPYVKbFsxmXTad0279YfEKYT+IMZzq9k9powbUCZ1YfeWW1bSEQzpDkeTzADhhTBW0doqqSksDIxjQ3msjGFGd+hXqXHfHq73Cy1ZHO1b35Yeu8EiOcdLG1Yeyf/lX6v/o47UEn4wCxqGuAqXUlN2ffRwR57GHDeJRiWPJz50/B90/Ls2TKo1A4c/200kLjysznUINMYZnhsDBgada6zuX8y2wlSpddGhdWE7v9gWwkXH1NrJitu+cZWmNdEglwty0CzDeYuUSaT6jIbv2KQTMogfInTMbQF0p7gDKgUHSkjI6iFAWEWguCqDkqPXajeMxV3a1efqIKlIuKch+d+1jnABqIaSJu8Br1lw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7696005)(8936002)(2906002)(33656002)(122000001)(55016002)(38070700005)(86362001)(508600001)(966005)(71200400001)(54906003)(316002)(8676002)(6916009)(5660300002)(38100700002)(45080400002)(26005)(186003)(64756008)(53546011)(66476007)(4326008)(66556008)(76116006)(52536014)(9686003)(83380400001)(66446008)(66946007)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cmunHc5zfYI+tz44sy9h0c0Y76kT8sc8DYUU6aQHLh7y2Vk6tEw8VnQyliVo?= =?us-ascii?Q?JCLHAW/2e3RNikElP9bmRJHnPLgoB0M063WLEivc1SVm5d5DN6xSgkBxyKqs?= =?us-ascii?Q?gNe5QZPGUBnEnbJVcZEuc1AmeRF8cq+CkiozjG7VZQl5isRu+H0ugjaaSRb0?= =?us-ascii?Q?/+6S6UpmpUZgzb6xxIoe81mkXVaYAt3huiDqh/O3jhffXqJxDekehC0BH8Ph?= =?us-ascii?Q?ImfZecXvWIxSHC3qIq4LEkk6rzClFRjxswq1Pm1rSWe0cCQ947ALRQ4BuTmF?= =?us-ascii?Q?kIYkZtN5QlqR+Np2g2Nfk9ahclmnT8BFGeoBUwjUWo5d9+IkWHu2u+XESXLN?= =?us-ascii?Q?pZemIHBV1iux+S4hfE4OGEYQV/43Cf9lWH+zXMJ9RK8hdyLWO6DafuZzAuaJ?= =?us-ascii?Q?whsGJhniMVf1JgTnD0zdYJ/Kw4DLogvvvNiZiwlVaoX7yFC8urVo5pzEHNcI?= =?us-ascii?Q?Bl9z1Hc5z6Vkc2XkFCWR2Ehd5fDcAPYbCvDwuqvq45hdiTUi49w1NyvgIcO5?= =?us-ascii?Q?jnxuPZI7p/SrpgiML5R2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ascii?Q?G1Qr0ujPxW/iHivL62KM8+lT6U68zD73lFr3uBhjf5R/VN7aYzUewfQq5fpZ?= =?us-ascii?Q?38ZYIeEFDTn3bhZov7zy5GXx/Aq12B1ovi/ZxGaVNI/rWYp76AVRY0NFTQ?= =?us-ascii?Q?=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0603b214-1aaa-46e5-dcb3-08d9aa579533 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2021 05:52:19.0969 (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: i/JQCcXOGInuJqBW+q8skT3aimIiezJyc0J7fjB/UJ4gCFRGAvtoBnvpAxKxhvU4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5015 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 Thanks Anoob. > -----Original Message----- > From: Anoob Joseph > Sent: Thursday, November 18, 2021 11:15 AM > To: Gagandeep Singh > Cc: Akhil Goyal ; dev@dpdk.org > Subject: RE: query regarding IPsec inner IP header TTL >=20 > Hi Gagandeep, >=20 > There is an option(dec_ttl) in 'struct rte_security_ipsec_sa_options' to = control > this. Wouldn't that work? >=20 > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fcode.d= pdk > .org%2Fdpdk%2Flatest%2Fsource%2Flib%2Fsecurity%2Frte_security.h%23L166& > amp;data=3D04%7C01%7CG.Singh%40nxp.com%7C39b5b1a26d8345f89c8708d9a > a56a19e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63772811134 > 3148716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu > MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3DBTzCgx8lhfsa%2 > BePSRloF9%2FetBjVqgDPJwoF8vtAwYiM%3D&reserved=3D0 >=20 > Thanks, > Anoob >=20 > From: Gagandeep Singh > Sent: Thursday, November 18, 2021 9:41 AM > To: Akhil Goyal ; dev@dpdk.org > Subject: [EXT] query regarding IPsec inner IP header TTL >=20 > External Email > ________________________________________ > Hi, >=20 > Is there any option available in IPsec mode to decrement the inner IP hea= der TTL > field by security engine? >=20 > I believe in case of forwarding, inner IP header TTL should be decrement = but not > in case of packet termination. So looking for an option that application = can pass > to driver to perform TTL decrement. >=20 > Thanks, > Gagan