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 4CD9AA0C43; Tue, 28 Sep 2021 16:40:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 340B5410D7; Tue, 28 Sep 2021 16:40:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 29E4740E3C for ; Tue, 28 Sep 2021 16:40:51 +0200 (CEST) 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 SMTP id 18SAIJrx020815; Tue, 28 Sep 2021 07:40:50 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by mx0a-0016f401.pphosted.com with ESMTP id 3bc16214av-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Sep 2021 07:40:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fIAYznH3OZ761+Eai/PKMMmnM4iNrfC0C8t108l3og2L7bNFj47du4YsAxOeiqM80gX7agnzENwUOwDkc4jNnGdXEE73dIXmhCJ5NLDc2zJIsaGtCtem3IhBMPvEy/nk33opFK/YeMEZQAUt10u8voQjPFWCt9qCkHxPq2YAkLZkDUmGkbU3g8ADKCYUufoKF1sHpwAMjCelx1sTcM59TnkHLBS24lbSFBNwmVfm9gtVvfxRLTyScriM54ux5EgFprJDXL1gfzFvLqN6lC2K1PZhC9bfyA9PHc6hy7Qf75AzOFEFoVS1hpNgRQsHD/BjlZo6Ig5CqGk0Zs/UTGftgA== 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; bh=Gymfk0x/fcbglKiHDmWAMQ0yZCckG0UR9b4KroKEWHs=; b=NziEmqJCQZ+4cKbfGpGbn9y4KsDOZ/yJSM9UIzIPFSKf0Z7NQjHJXcseglJ0G8IVnBLCq4JWj/lr9Qs10yXZDxgdXk73tO7+zlMcEyXZuDGul4MgSluGRUCKyPSxoB6/YLiuwAXXF/r1YA/Ji+Uk09rTCbE4Md7PjsjjkIF2HPRZ/X+Lvmc1BA4fnVWuZz2SFZX4DqR6wDrUYAZA55e5/IClmy5AacA7Ty5HAW3paEJ4XwF8UjHs39BHs75wqFIKm/9jK9WHhHK+Q8CrdChzbLNIXX4o6g2p2VSa1nlVmjBtxjv7B3MtMHKON5kFKIq0BHR0wQgjOgnxeg/TOnB4Dw== 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=Gymfk0x/fcbglKiHDmWAMQ0yZCckG0UR9b4KroKEWHs=; b=fx4iMBIgTYMdm9xYWQ8Fs6XjcZEoezxRmT6YJOlF0ZxS00DSinkh2gZLk9+kJaKMG8adTrH4+QWMW4KIn3SO8324x53oYSSgS+pI/N5ZK/dsEefmuKtHooB/4sqy6idaism5qUlgoq9Llf3mHfVv2+p1OJSi4crVchNZ4xT/5fE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4668.namprd18.prod.outlook.com (2603:10b6:303:e7::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Tue, 28 Sep 2021 14:40:42 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94%3]) with mapi id 15.20.4544.022; Tue, 28 Sep 2021 14:40:42 +0000 From: Akhil Goyal To: Anoob Joseph , Declan Doherty , Fan Zhang , Konstantin Ananyev CC: Anoob Joseph , Jerin Jacob Kollanukkaran , Archana Muniganti , Tejasree Kondoj , Hemant Agrawal , Radu Nicolau , Ciara Power , Gagandeep Singh , "dev@dpdk.org" Thread-Topic: [PATCH v4 0/6] Add SA lifetime in security Thread-Index: AQHXtFgK9fA3nwptbEO/ydTHvcYXyau5hIcw Date: Tue, 28 Sep 2021 14:40:41 +0000 Message-ID: References: <1632823662-384-1-git-send-email-anoobj@marvell.com> <1632826799-454-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1632826799-454-1-git-send-email-anoobj@marvell.com> 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: 59f6cb42-e064-4415-96ba-08d9828df296 x-ms-traffictypediagnostic: CO1PR18MB4668: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L8MkH/VhqD2eZLRNpG/u+aZAJUqJKoIYIEttGj4NgLzQT/SvJkj3ia0XZlfXe+OcZmEbJF5TvxVYBEbLv9zzZ2IKHHEtDQLHrfm0fGBKqOT5IUjBSFYWl867VnDotlMsxSpvcbKzwTgJ8FIm16A5zTQsn8QkrEUbrFdGca6aUsr4trjt1chNXL/eQZO2KmSYzZyDy8zA1IrD4V8rdN6DuY6awueMeVitEefav58AZt4n9nUSikOQTchxmSL95GwZgDB9Vtsfg7Twe+op1TsWmXYzESj0WVsJgyBV+Op7ug4qZZ8P2b1+JuR0pPwuA6KjZoCxKzQTY1T5JyR1yTftOHWeJ+h+jKL+VjAbfwDGhprUtG0sxrt+wx9/xbKtmsAcvmTM5GaU16ASCnGTpVgdJk9a90bedL2q+R9ptHoNkK2eTF0uQKQVl7XGJpX9d+qqdBi0abLs+qgzZo3JcZQSIzBpHc7pI1w9Sy8fjROb3jIg7/F1sPwP9zT3/NlsWRwdsCAKIX/A9VrVu0M8PA0BFyBzqUYnJXIjuiC2PE6whGVBcVLWkCkgYx3uw4dooCnoHIbmwdyhm500rtSxpHxtXgJJzjdBxjbWG0cmXKYA+8K2tzGSb4WNlLk8B/uxKVIJRBia6Miu8LOynvr8BjjuGB4reZ2DeUBvQw67NR9pZyLN0PfXqR0U9FRbkJgFJgpGXwBpf6mPeXWJra/vrwdDkg== 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)(33656002)(38070700005)(9686003)(83380400001)(122000001)(38100700002)(4326008)(186003)(54906003)(110136005)(2906002)(6506007)(8936002)(4744005)(26005)(86362001)(55016002)(71200400001)(76116006)(508600001)(66556008)(66446008)(66946007)(55236004)(5660300002)(316002)(8676002)(52536014)(66476007)(64756008)(7696005)(15650500001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lEp4hG9LzycvwiIhIexf5p5NSmeO2MyaBwF2YSSYyTT7J5BzBOzPPU/BlTUN?= =?us-ascii?Q?JttqARiZkk+tjRGsADtVjFttqpK7GK85qtfkm5i0Ltg4YDg2xOhmjAOPGcJm?= =?us-ascii?Q?l1z8mmNOUxqVfxmZFHPP4bI7TvDiwT0t0X/6yRqCC9AZH0s++URv4K4iLM9K?= =?us-ascii?Q?VjWCbtCSA4gc0L9D7vrbT8tVCp2weU4TewAdDO/9xECI8x0KVpK0/f54h1NQ?= =?us-asc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hlczhoBlrqOV1+GN27GPcdUy?= =?us-ascii?Q?bItQ2nXIw5K9yKZYPGneNvXMdLq4BOsnv5pLZThih2HmWQQ+yUDedFlOi1Z/?= =?us-ascii?Q?zvWpy43LkHg3O1BRxb3Ki4jiP9xWTx0cH309EXAM0qBX1FTeYcgyi6u4lIHJ?= =?us-ascii?Q?CHbdbmPdIs0ZuVCUdhviJNdpkNIxhu9dXoNhVFxZIeyYmmM6BZ6inJ/V+aqD?= =?us-ascii?Q?zmIE80aJHGQFyHfa8vuCsv0M?= 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: 59f6cb42-e064-4415-96ba-08d9828df296 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2021 14:40:41.9539 (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: sczFGL3Jp6AObBaDkv2jRVYwWA08BxMYIzjqjww0mnI/UYqt+BmOp2VZd1IMf6fIFdYarqxmuO1S51e7jAJfjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4668 X-Proofpoint-ORIG-GUID: f_b-rM1ZtbYA_qmmk5oBeBb7OA-WeYgq X-Proofpoint-GUID: f_b-rM1ZtbYA_qmmk5oBeBb7OA-WeYgq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-28_05,2021-09-28_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v4 0/6] Add SA lifetime in security 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 Sender: "dev" > Add SA lifetime configuration in security. SA lifetime tracking can be > offloaded on supported PMDs. >=20 > SA lifetime would cover soft & hard expiry in units of number of packets = and > bytes. When SA soft expiry happens, the packet is successfuly processed b= ut > with additional expiry notification. Crypto op structure, ``rte_crypto_op= `` > is updated to cover such notifications with lookaside protocol offloads. >=20 > SA hard expiration would cause IPsec processing to return an error. >=20 > PMDs crypto_cn10k, crypto_cn9k and crypto_octeontx2 are updated with > their > respective lifetime tracking capabilities. Unit tests are added for soft = and > hard expiry with number of packets. >=20 > Changes in v4: > - Removed extra comments around auxilliary flag macros > (comment from Konstantin) Series=20 Acked-by: Akhil Goyal Applied to dpdk-next-crypto Deprecation notice removed for the feature supported. Release notes are also reworded.