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 934F0A00C2; Tue, 27 Sep 2022 20:44:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7522641133; Tue, 27 Sep 2022 20:44:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5033C40694 for ; Tue, 27 Sep 2022 20:44:15 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28RIUhA5001235; Tue, 27 Sep 2022 11:44:14 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jv6gug1ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 11:44:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BnZ3NcSYPsTeJvT02LWtM2RbqTlB/1SS4sZ+cPnZ4yuUagYeKfr0dFt7LjAiom/PNNf2AjeTstyY745gquIv2HjD8sCdJw+f7fbetfl+JBILodVsZLy095Kl4UY3cj6iS3rdGlqmTMZZgXA3UbjDjzheVbt5GzOX/Rkc6RP6ooImrbwB+z/Ss8OlG1acsFA7QVdagX13JsJ1oDF5lqYf5amvz/jFZtT9/gXyOGSsQF671uMlheCy9ytIsORdTZgVwxGryDO7MkxCJ/w9Pj852gmSkSgXN4YNJW6qe2MVFjzs13+SWD/qAg3RFMbTEF8hHHUCQor0KtxK8c/AelRGZQ== 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=rBRqkNqf/srdifJOpW4l+IDug7mUM6+UAVhpdirc1qk=; b=aKaU0w33ayaLGPg/yjJcrXFrcvUVyuYIqmkdchHpVuV3zU0tjW5UUspOFIawQqCf5iOanoATaQrQ1kDXH+53Y1fwhMwudByW97BawcPblMG2tjcDxEv9zg3sxxtpYzhpwhy+owZISc+/N5gcwD/cOW1CaKObCJIGnBlDt2nmb7SH6k/TyueTGMyD0BsbXfHMFeYDwTliWdY8f1nNacVIxLU2eoRazqEgtsqiPg20SCsxdzQ99qwBLAaOF4d+fs3gqqPZSzbetQIi/WbR8BNMa6/s8B6b/qXRAz4KNkCiRwOhLOYa9m6Gz+aBWPCJIFYz58vnXgrXr6uCcVqEdDFDTA== 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=rBRqkNqf/srdifJOpW4l+IDug7mUM6+UAVhpdirc1qk=; b=o48b/zbRAJ/vQ0hUqUil/VqyPCrU5uTlOsWtBmvPYOQiKf2jX5gIXVyufqxp4DYpWkESSwOqtJbMX32Tde8R0XyDBTJBaLp5SgPrqabVgkDHdVKni8CaBr0s9vYQizzH5B1oHVsC+JpVzFM4J5B6WyzZ19Re/zJDWb7h2iJ/VnI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM4PR18MB4237.namprd18.prod.outlook.com (2603:10b6:5:394::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Tue, 27 Sep 2022 18:44:12 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e%9]) with mapi id 15.20.5676.015; Tue, 27 Sep 2022 18:44:12 +0000 From: Akhil Goyal To: Thomas Monjalon CC: "dev@dpdk.org" , "david.marchand@redhat.com" , "hemant.agrawal@nxp.com" , Vamsi Krishna Attunuru , "ferruh.yigit@xilinx.com" , "andrew.rybchenko@oktetlabs.ru" , "konstantin.v.ananyev@yandex.ru" , Jerin Jacob Kollanukkaran , Ankur Dwivedi , Anoob Joseph , Nithin Kumar Dabilpuram Subject: RE: [EXT] Re: [PATCH v5 1/3] ethdev: add IPsec SA expiry event subtypes Thread-Topic: [EXT] Re: [PATCH v5 1/3] ethdev: add IPsec SA expiry event subtypes Thread-Index: AQHY0B2ywI/d6fyyLE6Ub2xX1iGbWK3xwOeAgAHg/lA= Date: Tue, 27 Sep 2022 18:44:11 +0000 Message-ID: References: <20220416192530.173895-8-gakhil@marvell.com> <20220924135758.3402392-1-gakhil@marvell.com> <20220924135758.3402392-2-gakhil@marvell.com> <4523612.CvnuH1ECHv@thomas> In-Reply-To: <4523612.CvnuH1ECHv@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|DM4PR18MB4237:EE_ x-ms-office365-filtering-correlation-id: 1a2afd67-e76e-480a-ff4a-08daa0b84517 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DJTs5rwNtrgmhNOAveYkbeicESwZpXBreTU6c5grUAVCRIkh4XQ9SBIZqNofdUAg2E2hvEPFT2MVVjjmaSJi2wCSZyigBM2V8HvwiGt15y7qNI9gPg77ugA7BlyiQnimdHXMp+giG4AhWhaS6JLMj8JattsmCw8VQef8kFqUPgduYhxZfzy5sw4Mb9uK2FK0asZf7qKe8e5XK8OYVbDm4muMu0GZ2tw/pGwK8oYUVXVKRQDwr8tyEzSJDg28Aa2go77pezImOSTXhAJxkPkiQysUp5IVtD+u1xFAnHdlgDNIzlhHoKWAFOTtVyGcWG/P15ZHEFnAzABnige9KUfqEthDQ5HULluq47jVPx5SKvlgE4grOSq0Meh3KFeXEOgxtOLmWgBzlgQTHffeuLD8JtluKUxy+Rxl18iWwCHedhcsXYG9KKK7OS4JibNdTffJOzNASqL8lP5wGECLhZThHmv+UjwN64h29u0I5ebS+8F7RSUAleTo7P8+Y0vk5FTrsRR+ruxF6gXbO45+FmrBMjMuaFNcK20Bct2YNJWiRpj9YNFIBJ3k7l1QnsStdBGXP8zaup6CXzNDKv4VGyGd8nMGo+Ag6xd/Uqh797VgYmykoJcTiPdvGfkIQMjxl47piQ0ij4X1+6YffirK/wWbsrqy/JG/hZipGNjERRwymdJW1fHL3348mAlMYpdl3cuCRFdvtuvUW2LJCDNkwHIuknOhg0mh000DnVs50ZexiIQVK+CThKnRDxWPvAAj0qFUhf+spc8vN82DYoJEC5N+lQ== 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:(13230022)(4636009)(39860400002)(396003)(376002)(366004)(346002)(136003)(451199015)(66446008)(122000001)(66946007)(4326008)(38070700005)(8676002)(33656002)(38100700002)(66556008)(52536014)(64756008)(5660300002)(76116006)(86362001)(66476007)(2906002)(71200400001)(8936002)(186003)(83380400001)(316002)(107886003)(478600001)(41300700001)(6506007)(7696005)(9686003)(26005)(55236004)(6916009)(54906003)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WlKtYftwf0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ascii?Q?22HShuwA9nyY20EB5unXNs7lK2quqXuOj0jjF5t97mieb6v7e5aG6/giOPNu?= =?us-ascii?Q?rhZqd9msHesCXZVIEn5W0kAWq1upGAY+aI5df5Jg/Yoqs21ojPZR9lJStium?= =?us-ascii?Q?B6ri1jpNbb717JqxZidSM41I8c//v1wBJtlAm1rA0yaNc999rioP6RgZkkM0?= =?us-ascii?Q?1NF6EEWGHWn7EX/16kwzBeD80Mi+5FPPxSp6IiNbQXnQeEuJd3QGV8NtK0Wr?= =?us-ascii?Q?gAgqCprw+LuGBXBzpX88w5By30wAiZayDfndFPYdeUAfQ/kSE2Pcm/1FbYOM?= =?us-ascii?Q?ra4qDioKJzOlG2mYmI3bxd1CFhNO0TD+GDDYm9+ArR/ATOKHNWju3RiZGyj3?= =?us-ascii?Q?uel4DeruUF0+zcN3vBynxVyNCPW1MPnkfrx1f8t/visONuzz0XY4qQqQ7SVZ?= =?us-ascii?Q?9iLcR1w1EJ9UF6LuAGvneZYjWmrOZg55BwgksRBWLNh1WkRDPsCYgaQ8+9vO?= =?us-ascii?Q?UG4ol0xCWWQzPIhwvLraX6myQ4nIUL9p4Z08L7Em+Dwnwa4H25YCs4e6Gf25?= =?us-ascii?Q?Sic6jLetoQZYpKZrKgwLWU8ddnmugHd3l0BPCIyZ2Sh72o7jE//gW54GOC/K?= =?us-ascii?Q?lkrIJely8W3Cy/nuEq3/CtBnbGMUaTyw7yFRDzurF+ptAkPL+DMyN/1rqXMn?= =?us-ascii?Q?HUJcmRaU+HUXzfl3gCA=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: 1a2afd67-e76e-480a-ff4a-08daa0b84517 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2022 18:44:11.9661 (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: fMZYroW+fvscj0MzYc1cXQ4k0gc9lIgwYuEpfESArzxwFFPuQ2oC+xviM1+BNtMw234lWeCRoDShAq9FunktBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR18MB4237 X-Proofpoint-ORIG-GUID: xjMd1jp5vxUYgpE_T0svF3VuUllXhUsQ X-Proofpoint-GUID: xjMd1jp5vxUYgpE_T0svF3VuUllXhUsQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-27_09,2022-09-27_01,2022-06-22_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 > 24/09/2022 15:57, Akhil Goyal: > > From: Vamsi Attunuru > > > > Patch adds new event subtypes for notifying expiry > > events upon reaching IPsec SA soft packet expiry and > > hard packet/byte expiry limits. > > > > Signed-off-by: Vamsi Attunuru > > Signed-off-by: Akhil Goyal > > --- > > --- a/lib/ethdev/rte_ethdev.h > > +++ b/lib/ethdev/rte_ethdev.h > > @@ -3875,8 +3875,26 @@ enum rte_eth_event_ipsec_subtype { > > RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW, > > /** Soft time expiry of SA */ > > RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY, > > - /** Soft byte expiry of SA */ > > + /** > > + * Soft byte expiry of SA determined by @ref bytes_soft_limit > > + * defined in @ref rte_security_ipsec_lifetime > > + */ > > RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY, > > + /** > > + * Soft packet expiry of SA determined by @ref packets_soft_limit > > + * defined in @ref rte_security_ipsec_lifetime > > + */ > > + RTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRY, > > + /** > > + * Hard byte expiry of SA determined by @ref bytes_hard_limit > > + * defined in @ref rte_security_ipsec_lifetime > > + */ > > + RTE_ETH_EVENT_IPSEC_SA_BYTE_HARD_EXPIRY, > > + /** > > + * Hard packet expiry of SA determined by @ref packets_hard_limit > > + * defined in @ref rte_security_ipsec_lifetime > > + */ > > + RTE_ETH_EVENT_IPSEC_SA_PKT_HARD_EXPIRY, > > /** Max value of this enum */ > > RTE_ETH_EVENT_IPSEC_MAX >=20 > I would prefer we remove this MAX value, but it would be another patch. >=20 > Acked-by: Thomas Monjalon >=20 > You can merge this patch in the crypto tree. >=20 Series Applied to dpdk-next-crypto