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 87479A0C41; Thu, 18 Nov 2021 06:45:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 429E140687; Thu, 18 Nov 2021 06:45:29 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id F22FB40395 for ; Thu, 18 Nov 2021 06:45:27 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AHKwOhh018566; Wed, 17 Nov 2021 21:45:27 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2108.outbound.protection.outlook.com [104.47.55.108]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cd34buw4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Nov 2021 21:45:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AhZjcMVcABUI/Ldw78ltyfYBIZTDipgKXxwps8yyFqr38S6ad4qRZCIBk603RbPsvq8wfhTgDv3GY6NcZbhmZEGW5t9gmeblIlFJBC2tFL6CA2Rw4TeP9SFnBdLEAG+rUFHrsUDAKa+47MCqh//E5CT3q6TuQapTqAY2KcaU7POdLqO0t/YgSOR0i0lVAgFA8dfXLw8mPArpDRYGJeNDuuzv01F+QP6bExT2SeBhJ3VsDFC8B7G65SnC6gLsWbjcldlrJ8pmON9SKMvP5zgYgiLz8tRbGTbkyGNTpIlQXU1/vCMPhgh0ZY5ziVusYl5ygFgFRHfCxHHPoI9DJ5V+uw== 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=IeqWZScoQbHwNpWqq3evS88pWG6XS4v6kpnY5cdFCmg=; b=RUQGNlrhv1f3ckpi3B5cL/DpkQMMqKtdYvHMWS1+6ayhbdDZqoAfya9TXIkLCPv/7i4yLbXefDFY1jQQDRM9g29Jc+7kdpJpABMBJ6ZYnLs/aZ184I5OE3swFXmJ4ZEZcXiYZISzCptYIsu0aoXJlHTl+n+AAjsiEfEr+bQZBfrkvzhV4EKZ/XQEzbxEZKoVmh85pksDLqeLjfY8za/y041H7WNtOrMuF01GMTv7caFIkpLJPf2PDP/qPhblVpOFtxUWR4ce/NO6SB7PceuremPFYDs2YrL8b8Ks+AnbQ0YGiyhOb2zI9oKV4BY++SicWGeoGRLRL4I7sBB/HqH7aw== 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=IeqWZScoQbHwNpWqq3evS88pWG6XS4v6kpnY5cdFCmg=; b=Ekh9nyaTVNJyKK8NE+6oqCu7ecypoujGL3QqWCJ4KwTVL97Afz1ifEKbGguuiYQjh7ABsEo0kDzTyJfISU3qjgfAJvox4voPzU6/6b7tm5fDzhJit1iQwZ914dV/bVfg/mo7A8tEOSM794vX66eh/T6kXupfpLBVoqx9r8ogDbw= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by PH0PR18MB4982.namprd18.prod.outlook.com (2603:10b6:510:11d::9) 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:45:25 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::30fa:e30f:a8cc:92aa]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::30fa:e30f:a8cc:92aa%7]) with mapi id 15.20.4713.022; Thu, 18 Nov 2021 05:45:25 +0000 From: Anoob Joseph To: Gagandeep Singh 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: AdfcMhGnV0V1JrUsSMqLEuv1KY3cswADRpmA Date: Thu, 18 Nov 2021 05:45:25 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9d1d4b1c-0660-40ac-4b03-08d9aa569e92 x-ms-traffictypediagnostic: PH0PR18MB4982: 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: K3xYFQlxXueKW3OGkikBlFOjrSy3VgaXdILOUWMqtSeLtBnwasGCGh4VAf4g9A26CLcx0PxbBNN1LTijHUFY7XYNtLN6kSEpkZ2o5oTm4fWfMK0KXKddo+hFbfFIzjwfkyvZqxpG9BAWWteVfMq+kt676WLOEeV0oA0+75X2ngfQhMx19oMgpG2tsybgfqfviQdTOegLVjgyuAZ/gSWtltciEz9uFk0sNLJJPXVDeyT4UOQrs0GU7aINcgNz1sS/ksP+M1yftY1RuCDI/9qucP7pSProSMR2EOqYTs0fsaIKQXdzwPYQ0ErYk+O/sTIFims1CUgQz7SSGLt5Gh2Ts3jDvVIruVrLZR50i0MWpWtrLJP/q4NVheBKRIiGB5nBu/JnGw8XOWo6wQVn5gkrnAqxzM4naQhMyUcQc+SbzOLR1n5eeFPbhWqAmBPHPHsgetHmsfh/ZdtrVv3LdnKqCLneAzcpPePRqolkKHI0celXT1rxVZ8nrsyDdTQovK/UyKCAjDzIFqsTFWHUw/iO4UxjGJeX6o+QYIgH9kVi/d5eQ+Tgs13mGG+EFZ7d6ieCjtnuOYSXe4qivG4ztxhBzUIb02FlW10ifnXib9aIC6e8pxF/IfRDp7b2PS+ShlfzJOMHLvx/QgNiFD8QSde6nA8z5yd51CErOMHXWywLLmocw4Wk4bDZMzTU07fD5Qan8RPWMBhAVvd9+VNsb8vrUewaArHDx0SnL/i0AceBLJ4dBGUhsH69jPDvX7l9X/qwNEohKIS5yvBrlruxG6Ky62V+n3CI/iPS5m+cgs/P4Ew= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7696005)(4326008)(52536014)(83380400001)(316002)(76116006)(66946007)(508600001)(38070700005)(38100700002)(5660300002)(6916009)(66476007)(66556008)(9686003)(186003)(8936002)(71200400001)(33656002)(64756008)(966005)(66446008)(8676002)(86362001)(122000001)(55016002)(2906002)(54906003)(4744005)(6506007)(53546011)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5K09xDDa71+1uJVkiNAMu4cdATT30guQkGIQO1PcLry3I5nemQBON+NhT1sK?= =?us-ascii?Q?rpfL2Gs3Sq5XM0bMgQNzJnNl5Q8jJQ8XAPwlFUoRGVndZmdOZSfBVnfItncb?= =?us-ascii?Q?wNljXiRAohmSIP60ZHP3zalaN/pcjtazzI4WAlB7GdKotWvyRiOZ3fYISYhw?= =?us-ascii?Q?PSNVlVhVyTXr7oYXYfZ4Ds+tr2b+AhrTHm/k2Fw1Wv/czDyufyX5f1VTco6x?= =?us-ascii?Q?ard10lnDs1jR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rgYXH2KEc1QXP8j?= =?us-ascii?Q?mfXaWi5Eub/+rcjd5mEJxEMErvQzVXsl1mea4jLb9dO3h7UUodoIUxd4DXS4?= =?us-ascii?Q?h4fntFpz0/lhfiZGTlIpl5YTsxHM26vPLApRm5HWPRAIEnAo88W+yf34eQNL?= =?us-ascii?Q?KUC2KXOsPJsj5wWhZMJfshTT4v69wWVdV53PDTBgnie5Q4ev/MdY+7KJyB+S?= =?us-ascii?Q?EsyJ+KXUonsLu5ut1SGtixDDCztqj96z6N+TOaiTiIA2oN6RwVsn9nPYenYH?= =?us-ascii?Q?cQcdMXM9WQ4p236fOMZYK3UZJ41svyosr/X7O+nS/OuWDVTJuoXLXVG7DPe+?= =?us-ascii?Q?CiLkDPLO/EO4kTKsePbiodoq5de0u/2ejLzSq0uAVlQG15BdrUC8VHSSu601?= =?us-ascii?Q?gQL0UFguZTnMjgi3UY4KMbet/kve43bVtJ/o4tdikFJTkVK4q7nqRDRIub29?= =?us-ascii?Q?0A0pDxLEaf0uv2k7lXAb7SIC2pFylpxRYRsetxe9WSvlitZI08+ubYB/klQc?= =?us-ascii?Q?iQenoR+UeHeESMOwtn4FBiw=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: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d1d4b1c-0660-40ac-4b03-08d9aa569e92 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2021 05:45:25.2628 (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: 4Js4ccRAnKDqw6DBc4q9kTP/424Uqq9te+fMVbf9Oruicgq4cJ0cH87cGAZx9uUyG+v6UDbHgGKHS+6FAup6qQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4982 X-Proofpoint-ORIG-GUID: _DSavTrCpd7vhv1iwuLEO6YlzMwtMjQ_ X-Proofpoint-GUID: _DSavTrCpd7vhv1iwuLEO6YlzMwtMjQ_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-18_02,2021-11-17_01,2020-04-07_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 Hi Gagandeep, There is an option(dec_ttl) in 'struct rte_security_ipsec_sa_options' to co= ntrol this. Wouldn't that work? http://code.dpdk.org/dpdk/latest/source/lib/security/rte_security.h#L166 Thanks, Anoob From: Gagandeep Singh =20 Sent: Thursday, November 18, 2021 9:41 AM To: Akhil Goyal ; dev@dpdk.org Subject: [EXT] query regarding IPsec inner IP header TTL External Email=20 ________________________________________ Hi, Is there any option available in IPsec mode to decrement the inner IP heade= r TTL field by security engine? I believe in case of forwarding, inner IP header TTL should be decrement bu= t not in case of packet termination. So looking for an option that applicat= ion can pass to driver to perform TTL decrement. Thanks, Gagan