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 90A17A00BE; Mon, 16 May 2022 20:30:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BD7940A7A; Mon, 16 May 2022 20:30:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 308D74068B for ; Mon, 16 May 2022 20:30:34 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24GB9TVD031489; Mon, 16 May 2022 11:30:33 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2172.outbound.protection.outlook.com [104.47.55.172]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g2bxsr6c7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 May 2022 11:30:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C3IfpFdjML/KbGgi3Ic5bC8S1fNE95OGgw2Uq2yGZmsUY/YapYM/R9zZ4yXNelzdNnotTYFncvkhxIpsDJ4CTkL2eNajsYLp/9bsYCKVmokNKEWeSMuYNlQJwwDG9sW8V7doX05bn+sWW58sRqTULBNijm5TA1Ddn9PkVZeUvhWc32NawIVW+4LlsrD5OMyyZ0tRFew5oy4ysXuLp4foopbIn706m8jZ+qGjnFavgpYDI7HdX+zbc9decLpK3PCgaftWt/Y0ZZeG/h3R4hUThuRyq2jMnmQGawX7w6PsuH8tvfkSlb95abTQVcFunqIAT5I5f+5sNGui9P9SqyufNQ== 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=dtm4p9xwqdscPwkgPinooG2rzYoygPHGMnk+eJvVaA4=; b=AKLvKtm6oXUQGYayX8YjGGKkxZvMT5JNr5SQeSGNnoZV+VUroxqmw+3T/qo/xFE+jOw2ywggyR8ClPyusHH/ki1TCHIIK2Rfrr5ytXsNL32J8LgZBsF1TXUpMA2ryHTNifyFvc9mecDTZtGweQ0Fl/cxZTI+zTxrXNSpcAnfpc0c3nkrixhuvuMP/xsPxnyJA7Rn8Ii2WXUUEJOExEG5wJgh+PXNjmIBu7BwIOQYLX43B+NnZHCjuQCuki7WwbjTL8/K0FMHCyKYt9GogCdNJxQ7uVstgnh/sTjOu7V4eV1uASA6VjqyKIgZNvkvwkPVC/ppNZNsMYlj9fard04UrA== 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=dtm4p9xwqdscPwkgPinooG2rzYoygPHGMnk+eJvVaA4=; b=QvA3WGMr5kFXRVQUc9nlMtMRcnmrUsaretpj23NmoRGJyPfdXb7ntVispBepD/bhbV6oxvZlM5G1Yn6a87aLNRPGGTO+m8BEMnST39VSnrQB265LYSid1Qg1LFr13OLahrQPj1JWOD4sNA4JJXuZjLCR0XOPLRfscIBPVyQpJ2E= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM5PR18MB1484.namprd18.prod.outlook.com (2603:10b6:3:bb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.18; Mon, 16 May 2022 18:30:31 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d%6]) with mapi id 15.20.5250.018; Mon, 16 May 2022 18:30:31 +0000 From: Akhil Goyal To: Akhil Goyal , "dev@dpdk.org" CC: Anoob Joseph , Jerin Jacob Kollanukkaran , "abhinandan.gujjar@intel.com" , "jay.jayatheerthan@intel.com" , "narender.vangati@intel.com" , Volodymyr Fialko Subject: RE: [PATCH v5 0/7] Add new cryptodev op for event metadata Thread-Topic: [PATCH v5 0/7] Add new cryptodev op for event metadata Thread-Index: AQHYZf4tt8/PQcek8EOMGmsB0MAjA60h2e5w Date: Mon, 16 May 2022 18:30:31 +0000 Message-ID: References: <20220501192457.3670278-1-gakhil@marvell.com> <20220512124527.2031321-1-gakhil@marvell.com> In-Reply-To: <20220512124527.2031321-1-gakhil@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: f737d9d3-78f3-415f-437f-08da376a28ba x-ms-traffictypediagnostic: DM5PR18MB1484:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mUPVrtyS74NVp8MxXSBcXAyIoXDgTddO+WKPBIzPoyYpRp+HpFNjwGvWrIg/UOx5cWSjeyKDEhM5j3crdRzgLMjxJXkn7LNm1YHhOXhx5vWeVF2S81eRFc6mVafp1rKkQWmLxv1IcrRp34X5GCG/YpErQXkf/B4EcJ/sfNhbdLoPGsMIeSaeoo0esO4ZRHE1vrk+9VsDzZ0K6tfPjW9cidgs1hQE5Y1RWYe2ALXbjOB36ATeOAnQWpSgPq6K28/OAnp5Uw1CILXDm5owEdjaU8nmmUGYQAdxxFNUT0zT1ysAB3XRQcsw2T3pWcIWFjX5m7ZaWP2QkB1lqTBoW0x48qnAF6Vf4rlAqCeYFZS+/OKktTGM0lokc5SxFZUtLIiVuHm5dPcebbt8hQmfFoVmdOdA/wxAA74BN4F5Mnk+b22Z22HPNuurbX/lmy3RDScXdFLzit+hI81ynA/FME1eoivSRTJNdFNrPnOsXj622DHZEN2P0DL0DOdS7+vyqigZ9EMWUmH/cCpilMOB5MzUKzdReyi52Lfq3JXXt1b6A6DFhWfc6jFqPTeVV+C1+T//4XihKOelzN3MRzKH3YCNYqOiaafgWQ4pu819ZFa1xLoVHU7tNm4r/YSZANgIq4ErOo/ZLbvUHlmXeq8Z0H/uQCMECuMAGn8rQtE9Lo/GEceHyhQkblBgSVVZpY3gqo/Da8zBoauP2vsEdw4APPfqIw== 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:(13230001)(4636009)(366004)(6506007)(71200400001)(186003)(508600001)(52536014)(54906003)(316002)(110136005)(9686003)(26005)(55236004)(55016003)(2906002)(38070700005)(38100700002)(7696005)(64756008)(76116006)(66946007)(66476007)(66446008)(8676002)(4326008)(66556008)(33656002)(122000001)(8936002)(5660300002)(83380400001)(107886003)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BPKqZAVhMeef8idKPGd5JGvskRk6FoEVJiGR7qLo3yezQ3sO8ATz6g3Z4u0u?= =?us-ascii?Q?FxREKVMkI63/vs6rOQaKMKF9xHG9dQHi7y5m4subfQiTjLFjegZTWhKG+4qm?= =?us-ascii?Q?HEW/rT6FoP90ZEeZEO6Uix7ZWPSune42q1B5dPSbSKjDL9aoHzLJSWF/URfa?= =?us-ascii?Q?2a8UY2z3pQy2xdNlivCykHjD/hPYrFJOxQdixb/N8d0lkl+rQMKJC7chccWN?= =?us-ascii?Q?doY6BX/AscaGm3+EiYNBT1kFgwiqCCGJVeBZiCxSuv432pHhi6hS0QLnQTBF?= =?us-ascii?Q?e4jX0qv121ED4RM8JAI8MYdSS35dFOJX/q2qVyFUEzBlbGLmJWUjUUfPLYKD?= =?us-ascii?Q?zrWQ9JvRczHO+zE0B/HCdoX3FIEHKzJE6hd7RB1jhumOPM9NqSY02Jvy1Ldu?= =?us-ascii?Q?zxnVsbYjz5uJgQpO7Momu8FphYOLyaBTHxzUA0J7VSH4p+aO/JqGt7iknrps?= =?us-ascii?Q?95zvr4zLcq1ZhhfHKccrfNwbaLBS9as7kxn72yIXgfVKw7T4IvKdB8L4n81/?= =?us-ascii?Q?9GWzVvh2pFpn2u4aRvKNketUTTT2SSVH2atuQ+1uAgLKm5zQvpAoO4Yhcl7/?= =?us-ascii?Q?iKxTbqwpCc12JbSOOIIQVpBlpXQhuqgiG5d7OT7tfBX81m+HkQzFKelPscZt?= =?us-ascii?Q?pWTIw7g6hfli5HmhGGS8WB1OnM26HFlaN7oNuEpAimbmvsKKacWyL6kr5Z51?= =?us-ascii?Q?G7j8Pr4nJo3zU9Z7SrnHPExzgtjW5oQDXgMmguTtjOWK5KSL56WDoUjP7utP?= =?us-ascii?Q?xAeTUpoGniSMm12vbcluajssl1t7yJjlcycyYqygmDdJkBkbqCWLOax7XaE4?= =?us-ascii?Q?5E7n2myQfeonOBpLHdDAP6sYLAbohwAP1FcYObud3VUK36atI8P5VJfbUGDI?= =?us-ascii?Q?c5ZLiCFc55LbqvRRKtWtVy66q4JTE7/nsCsff37HtG6Sl991sd5tAp+WqYdz?= =?us-ascii?Q?GXgSYQjY3jw3zNCEZve+baNidMk3vhR97NReBUXWze/GB1DwCrpjpnoz+B1y?= =?us-ascii?Q?mAlZ/zwF6L8GLk1H9eMtIap20KZoPqH14gA5aYpoqNLU7OHU66inpShKlq+h?= =?us-ascii?Q?33d6+uK9KhNggtYaZLwkDSK+vfriYLmpEUPVRpuIGQ25OSnHEguIH7Glu6eI?= =?us-ascii?Q?4A3ugy4hYVun4/pbIpyg2/gDO3sGRKRG6uIee1g0Q7e0c4hSUFT0RBE32okG?= =?us-ascii?Q?QqxH7kVTVCRN6FvsD5EjGqA4Dzx2ecxEg9VpWnr5KvbK1hyaTkPfCTkU7Oif?= =?us-ascii?Q?5/v4dg7T/MD1/7EHUsfLkoN4O9hty5XyC4BGDGTMw0YmX3g6Ew/Am/9YJz0f?= =?us-ascii?Q?Y0fkH2Fkp5Kqiy8hN9ApyQDkoODO1aactI2hj+ci9jMMs1FqBVC2ht7BdDkH?= =?us-ascii?Q?zkPwy/1Ji+gtr+bgNoryavkLE7U4JBuq6wZDbZ40IRTrfenDmOmpYMFPWioj?= =?us-ascii?Q?N8CELSOUW/l42bqFka++TTSQpan3QQqF8EejhpO4Y1/Phs0ybKVeUj8z2owb?= =?us-ascii?Q?PtJhruPcw9QF5STV9tmS3yAKc4xYuwTJ8XzTjICJJEz1QaClARfkSUQ++O8e?= =?us-ascii?Q?aBgZ+kEB/upOA944F23Ln711gxC6SSgObh4Sx150JabXn8C7NTYo/oqsQ0QJ?= =?us-ascii?Q?lW74lCEdVpLyVv5nHdo90olpT2IP2jo/xzxQktVW5RX+N6VfsZn05s09vtw4?= =?us-ascii?Q?93ejaeTJ3q3y73q6msRJ8eqd9jEo1YHXFBcA8I2VnnVzyQi4a+VKuWYHIWtr?= =?us-ascii?Q?CWyBfbEHlQ=3D=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: f737d9d3-78f3-415f-437f-08da376a28ba X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 18:30:31.5390 (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: o1zNuY6SEvSp32pdkKyTjvbKFeQjT8+jLqRXBcVg473OKZzW10fFIaNM8Kuh1KcTSMUHdvsExc31xhGxED78GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1484 X-Proofpoint-ORIG-GUID: FHDFsrOrNuX_VBhM-X-EcCONSHVI_feu X-Proofpoint-GUID: FHDFsrOrNuX_VBhM-X-EcCONSHVI_feu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-16_15,2022-05-16_02,2022-02-23_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: [PATCH v5 0/7] Add new cryptodev op for event metadata >=20 > For using event crypto metadata, event metadata need to be set > in session. For this session user data was used for symmetric > crypto sessions and no support was present for asymmetric and > security sessions. > The use of userdata to store event metadata (which is dereferenced > in PMD) is not correct as it is meant for the application to use it. > Hence, a new API is created to set and get event crypto metadata which > is scalable to all sessions supported by the crypto PMD. > The application can use the set API to set event metadata and the > PMD may store that inside the session private data and PMD need not > use the get API as it would be internal to the PMD. > For the software event crypto adapter implementation, the eventdev > library can use the get API to get the event metadata stored inside > the session structure. > For Asymmetric sessions, a new field is added inside the session > struct which is internal to library. > For symmetric and security sessions, new field cannot be added as > it would be ABI break. Hence, session userdata is being used to > store that as it was used earlier. In next ABI break release this > would be fixed similar to asymmetric crypto case. >=20 > The patchset also add support for asymmetric crypto adapter > in the test applications and the crypto/cnxk implementation of > the new cryptodev op and corresponding changes in the eventdev lib. >=20 > changes in v5: > removed extra check for freeing mdata Series Applied to dpdk-next-crypto