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 D593CA0C4C; Tue, 23 Nov 2021 19:47:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58A1F41155; Tue, 23 Nov 2021 19:47:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A574240040; Tue, 23 Nov 2021 19:47:09 +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 1ANGS6GI010084; Tue, 23 Nov 2021 10:47:07 -0800 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumjb1uv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 10:47:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JejZ8oesGGC9fDbZHYPTJJXKzGEtjWRyHl6i0yao5mrHLlP2pGo4mcYNSC8Z8RUlbZp589CJy1oWi54wspmr00nfraZ/xlh44434JwJk39iy4thvvAiocWFR6btetHORNjW0ymlwkl5fTfkcjQ3oxtOQEgTD/EJQWZEU2sp7QbE8WqvjjX8jLA2/5snPNIqMnH5GygbxsUD6DN4+x3/VxLNM4I8PEl3CuFzdzqgAAU1za1Nn2ExYtJYn1yGeQr7uxy5hzmfjJuv2Nia7glc0BIOvWYkGkq1Ygeg9tEjc6hw0Tj9aq1w3Y7c0rQbwnDti3VfP77iQIFOq+3NOneOUgw== 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=aEMeCdkwlXl9LzUFT5Gzl2tcoQM698IGyiYbEvLzwEo=; b=ihNK1gbKJVlKW80m8O/asWg6CqBmQtJvw4AcTQvzoygtS4Ktu/IQSyxBwoemMYxoPpXp8LEyQIbOO7ooSapx7ui6hKW11avNTj5vcui/S80J7BzWaAP60j9mXE4oB6cqcBEQYpuTk/za3LCdnv3YQWrihPzZ7jgS1AEAoCn186Yat8ho8XmszEwQeEXnwUUpl7EMc9xNlC/UCuFPfPWBih1X4+CStu5E64U4xXG/s2/nS3jTZ3VsLA0yMBXTdRP+idK6CEUHm/QMVJTtdtb4ZI6TRenVEnAYScA0PEh92MoZQz/kk/3Fqlyd76HeEbtCCxXFJBsqvKgVqe/VL7HSEA== 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=aEMeCdkwlXl9LzUFT5Gzl2tcoQM698IGyiYbEvLzwEo=; b=kALlFNbRV8+H/CnRaAurESiDx/DVh/4gSZh/zfXqCGrg9RmkGSjb2ZfPQzUJ1RxAuN4rlahSV18MRDmLhmju8lAOktOl/k5AyKqGbN42WlYAABrW+ppXQ1z3Nws/zdOyH0UgyKZ0aCD1jhmG7z382y685OEOiMiocPs7Jq8U7fU= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4715.namprd18.prod.outlook.com (2603:10b6:303:ea::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Tue, 23 Nov 2021 18:47:05 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095%9]) with mapi id 15.20.4713.026; Tue, 23 Nov 2021 18:47:05 +0000 From: Akhil Goyal To: Akhil Goyal , Gagandeep Singh , "dev@dpdk.org" CC: "stable@dpdk.org" Subject: RE: [EXT] [PATCH] drivers/crypto: fix ipsec inner ip header ttl decrement option Thread-Topic: [EXT] [PATCH] drivers/crypto: fix ipsec inner ip header ttl decrement option Thread-Index: AQHX3EoCQ668RG5m6kKVIj5tnb1qWawI3bpggAieffA= Date: Tue, 23 Nov 2021 18:47:05 +0000 Message-ID: References: <20211118070018.2650965-1-g.singh@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42742733-3728-4636-82f3-08d9aeb1a56d x-ms-traffictypediagnostic: CO1PR18MB4715: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cn3Ta3PW4lQJstEDaDwcovB9tIvfygR4I4Wj87QfUIMRb3SEou5r/Xs4rOjE08nMUAHzTcU+gb9U5r1xJEAeP2ryF+zKqJBhFQqeR/TCVcv7+THT9aLU+gb5dnVuC/qN3bc+NavDg4iBXc/F/Bto7Rs2m94GCHiZXaEFDIm2wZLI9wEWqJYAd7seefWSgIwd7FSTUPGrMKGbYlJMwkVEZN+vjpasJxNjPisvZI31YFC5+4FTy7j7+8PMeP9mtSmxndy6MeOMb7O3NryNYohx2MogykrSApsnFpbLlk1nWOJ0N3s8pbbNsLH31MRwx6J91jInHqEv6+uPGnjUehDumK6eWx34OY7p95uPRwkfCVE7C+NQh9tEQu08i2rqLHhesTIBctjEUT+TwapVbweZn3BTj2aDG9KSqmtSzrdiosVQ0pf5qMZOF+C8bWw4I7DPCz2/D7/Ffl1O9G/clO4qMFggyb9v3xqJwoHddqEAVNMUrqR+GMSFjEqmqWC/Q3wKe2/CV2R1p+/DibrO6d7QjBlfO9lFem6g4CzFaXPDmRIibJOKgAFt7Z6g93bTXIhXDW6FmJZCRkLHtPIWSU3glRlMDkeDa+GbT6LuaB0wCoQmzEHrn5+NDA5eUalYagt20HrUxRRN6yOeUBdHemg8HS3M/RtRFWcPEkD6njT27InlJ+Yp+jgDF/mk628nrNTTvevO6B7fckS2i4qDBE+4mw== 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:(4636009)(366004)(4326008)(38070700005)(52536014)(4744005)(8936002)(86362001)(66446008)(6506007)(7696005)(5660300002)(8676002)(9686003)(122000001)(508600001)(55016003)(71200400001)(38100700002)(26005)(55236004)(2906002)(110136005)(33656002)(76116006)(66946007)(83380400001)(66476007)(64756008)(66556008)(316002)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3PUz1MO+kjnVtF7dAJEP/LDpvF+ZUdvNkEd4r3jrOR+nQgqccnGX9Xo7Wwh0?= =?us-ascii?Q?ruWzX/E4oWC3r/3B9hq77a3u5w1hQVBfNfhsCvzLNiPULpMSvdWloL+vxPft?= =?us-ascii?Q?sR3AJ8UB8AtjausKjSrblzpgCWubUvPXugvcgcFVOsbT6xmGrqWRUw1E9ehq?= =?us-ascii?Q?PK8v1flJLp4xTBjllNZUnKPZpbyngBfEMZ7CE+KefUvuVOK/bu28dJ9mJb07?= =?us-ascii?Q?KLgCxQAhBuUsscWPzbjWT2adM8Gf7din5KuiCkZyKE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N6f0N6mPf0mocY2AE8mmxTGoKriM+vU3b1zGv0iLVyRjzFzQ1?= =?us-ascii?Q?AkDgnLmD4pYWN8DfrtHVp8hxA/cV/adsCq/rEmRSgNI+WEW0AJ/+VR8OARDI?= =?us-ascii?Q?ZInFT/vxxqM1ssMG5R31IUsPhDUOlBSh8iQ61BKG6IgHPCSRVXqy3Lz1famZ?= =?us-ascii?Q?5ASCoyprZkG5Z10uMd9QEuGhyvZRz8gl+7ZzGKeIUyuZK8/oRppl698sKmmZ?= =?us-ascii?Q?kacvx3j0sgLNkcXf1e2Ym2Ml9GcZtS0K8O3NXRXvZIohnvRsN0O4t9DIVNXe?= =?us-ascii?Q?SEn5vSlPM6B651B+5XCkClk994rtn7DfOBzQhidDmD70YDBm1z/VEO6XCw5i?= =?us-ascii?Q?6p3uSVnFBk1Q9h83VYAtr121LEedbyQOiyJJmD9MUQckecFr+I5n7cT/sBdn?= =?us-ascii?Q?uxrkpvV2FiAa65JapHzCBrWBX+ElotQOWw8ocrcPl05fu4vO+nic8RFSPewI?= =?us-ascii?Q?rLyhHEZdGcIpO+tgNKR+iBU=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: 42742733-3728-4636-82f3-08d9aeb1a56d X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2021 18:47:05.5835 (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: HwziYPQkGHaaHe5TlxECnk7ZPj7v3RzWztMDUmMA064QqYbJWhpLgzu9nZ0GFMPKTRN5kx3Uhv2QC+WPPa8uag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4715 X-Proofpoint-GUID: 4dNnh60V1YEgMttZo0iMDBzUruh0Ja7r X-Proofpoint-ORIG-GUID: 4dNnh60V1YEgMttZo0iMDBzUruh0Ja7r 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-23_06,2021-11-23_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 > Subject: RE: [EXT] [PATCH] drivers/crypto: fix ipsec inner ip header ttl > decrement option >=20 Title updated Applied to dpdk-next-crypto > > dpaa, dpaa2 and caam_jr drivers decrement the inner IP header > > TTL for all packets and ignoring the dec_ttl option of SA. > > > > In this patch, using the dec_ttl to decide to decrement the > > packets inner IP header TTL or not. > > > > Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec"= ) > > Fixes: 3e33486f80a5 ("crypto/caam_jr: add security offload") > > Fixes: 1f14d500bce1 ("crypto/dpaa_sec: support IPsec protocol offload") > > Cc: stable@dpdk.org > > > > Signed-off-by: Gagandeep Singh > Acked-by: Akhil Goyal