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 7386DA0C43; Thu, 5 Aug 2021 06:21:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4150C410E9; Thu, 5 Aug 2021 06:21:16 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 20CA840143 for ; Thu, 5 Aug 2021 06:21:14 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17545Rt7016417; Wed, 4 Aug 2021 21:21:08 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2108.outbound.protection.outlook.com [104.47.70.108]) by mx0a-0016f401.pphosted.com with ESMTP id 3a83r50shw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Aug 2021 21:21:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WGJBr/unVbG+/CEF8wuTAMt/GxpY55qyCWAgBbe9Mrw/JDo/1onbV1cRvKQNHXnmzSHe0rtLwmA4VYIsngdBOqWzKCXdpTAyoIunPY62TzR8Nu0iXBMRvVd3GKbzBf62xPFk/GGiQ1KqozKOGUd6tFKo0gsBNYvNaU4uugqxs2TVL+a8nRmPPhsXX7yDL0nwdYMlJQKyjh1u6yNlhDjs1hv6e4PgPgWR/WHe6iDdMjQbUmgyqGz6mIa2XaSgCNA+YvuKq7iBeG2V44VE+E9kQoINDe7Njp1b6/2pEj909G/JOkVVxtXdAcXqwklNR/XV6goRo8CTxdcEs7La4khLzA== 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-SenderADCheck; bh=frX1Ld5pn8rly/ak9iC6Wt3FR36nOM4/XleXx89BEEY=; b=jrsEzfXkduQA/GWo3nNqnKGsDBcG8fMbXsVAXAgCqizo98D5yJtGByF2NsnUERuqCkLZGukF3XeAgZuLvqBAc5YMxwq7diyxUR8cPWVVwc4gfp3SXmn3nIgrn/GiEbiFE3PO9LcFbtiej5/N5PfwyGT1biiaXwII+HlzM1SgqdtbShKhACHrg4AU0odU6JZPPXVzX3hFpNf6F9+q7IGdvVZdv5etM70iKtTbExSy3HX+1gXQubjIKJ5rA4RWG1h5FNEwA+qN9xdePPBfPBh30pMXUrI2JPrRGNw+pxIEVJA2qmqEzmo/S26/nRnM7M74AyaBMpg//laOGzNMChjTUA== 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=frX1Ld5pn8rly/ak9iC6Wt3FR36nOM4/XleXx89BEEY=; b=qZpd3Znp9tY0NCU3CeFNS6ZSLdEUmws9fIVfOl36BTQ5D2+wKnMALOyIwkkv/hQEJyumQej93goSShc8Ys552IKwFRl1/MIOSYzQsLTWdPv6OQV+/Jrs2miYlkUg3VCeAR80pujuaOgFFGoS78WGue55DUztIJjFgKB8yiANK7g= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by PH0PR18MB4816.namprd18.prod.outlook.com (2603:10b6:510:ca::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 04:21:04 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::b5e6:2157:8ceb:2197]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::b5e6:2157:8ceb:2197%6]) with mapi id 15.20.4394.016; Thu, 5 Aug 2021 04:21:04 +0000 From: Anoob Joseph To: Akhil Goyal , "dev@dpdk.org" CC: "radu.nicolau@intel.com" , "declan.doherty@intel.com" , "hemant.agrawal@nxp.com" , "matan@nvidia.com" , "konstantin.ananyev@intel.com" , "thomas@monjalon.net" , "roy.fan.zhang@intel.com" , "asomalap@amd.com" , "ruifeng.wang@arm.com" , "ajit.khaparde@broadcom.com" , "pablo.de.lara.guarch@intel.com" , "fiona.trahe@intel.com" , Ankur Dwivedi , Michael Shamis , Nagadheeraj Rottela , "jianjay.zhou@huawei.com" , Akhil Goyal Thread-Topic: [PATCH] doc: announce restructuring of crypto session structs Thread-Index: AQHXiF5zoF4uyxsdj0OvrQit/Mm9uKtkUbgg Date: Thu, 5 Aug 2021 04:21:03 +0000 Message-ID: References: <20210803115512.694546-1-gakhil@marvell.com> In-Reply-To: <20210803115512.694546-1-gakhil@marvell.com> 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: 8d71f4ac-83ff-443d-6d17-08d957c87068 x-ms-traffictypediagnostic: PH0PR18MB4816: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: d+DifMiLOIKEdQCRFDaLHevKsD3Ge3v7/pCAkLUiKXGYij2KJJgdRiFEIE2CxX8Sq7uLDZpCpUp98saPkdwN8/Ii/WQaRXbS9ek6SV+bK8mUIyy8YOZF9snJ8ccFt2BxiQw8GbW4xf5lJnSUsol6zciqa0Q7lE78u08RBWU5KILJdxUCgUJHWKmGKUdh3xkKY18RcxmGBELVyGYO6i6vHU9QF6bVYZG6NxFgXr6Q6Q2EkG5cdu9XfYLj1ejl0dh7nSwvVqiSjl81WTZafZJ9I2yoFHQ8vItmPdeVsH4Dr6+hCHK5AQouYHa8tRUNNO/mv/IcekExEEQOf1ZVk7Pu0leCF039AL8EELbcWY7XttXUp14pj0x9OvxuXlCeOb3v5asUrsUNz6m7hoUI+YpWsdgABXLWEu6EzhhJk1782EP9YtRI0eFV6tHtX6qHuA4yjIu1YSTe22oWluuTR4QvWRmVe6lzSvOxiGIIQvq/n1MOp65my2LesqJDGrFRQwdkbsO4mM2NqX+U+rqLEylbfcRvCDlQB182wvdv2kTw0ElMBW075PH6GJyJBPDauZUi62LbYLQeyXPLhdPTRLatUHST9Aw0pGl9Jh78cU2aWEbZbR0zQIVErnkXxFu1brxxSzJ4C4RVtoBxl+h7MJAyWPYjYIRm1Lc1Ddh2oqUyN6AORFeI9ObTYuOwSjIYUNurgyH1UadguJnrwgKecHLFaA== 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)(39860400002)(346002)(396003)(376002)(136003)(366004)(33656002)(55016002)(5660300002)(71200400001)(54906003)(9686003)(110136005)(7416002)(52536014)(2906002)(478600001)(4326008)(38100700002)(316002)(122000001)(6506007)(66446008)(64756008)(76116006)(66476007)(66556008)(7696005)(66946007)(26005)(83380400001)(107886003)(8676002)(38070700005)(186003)(86362001)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kZNTwvO8y+7v59KYPalPSjFzD+YOjQsdmkjVINWZtGF02MizudmwZMzRq+rb?= =?us-ascii?Q?ol6UAT+1TFomLCXvFuQWxKUoh2z3x52LnGc9WEjx4RVL/IxShnLOxl1WW6TL?= =?us-ascii?Q?7WFRnlnPAqotYdEVE+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kf5p?= =?us-ascii?Q?1DuvIRlLtp5+wBZCJFmHK6/imQkLyLm786fytLkmjPACwiiq6h5TC2fU5gRW?= =?us-ascii?Q?eFqsvAseeZ/OhVEM19ej3UoOPiMIrlJUHiR9oOqJFbiICe8VcXCrir4vF5AU?= =?us-ascii?Q?YaTt+2BgPxVSyD77Is7j+6VB8AYFJrkQ5nqU41MGlAKWRX7+aLWZeVsVI4En?= =?us-ascii?Q?VXN3VGP/obR4762iOsu8pyDKwrrlS+JQKNYiBSiIn7tpeN7VUEMQZESGEh6B?= =?us-ascii?Q?OxOFmhE2fMFu/dor4NfHzkHcprnO1gMu+RJgY+Qt/A76gmO4vNEBqAW7MKwR?= =?us-ascii?Q?xD6oG3ciJGEvoVXesGq5VqBL?= 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: 8d71f4ac-83ff-443d-6d17-08d957c87068 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 04:21:03.9498 (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: cTrUbsM0iZ0ba+TD5G+/fqWyBeTjle55dT0ybbMpHSzZuIMvyOGtcm1okbrhidqVVXbyySROoar58r0TiW0QVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4816 X-Proofpoint-ORIG-GUID: SfNV36C9QFZWJc4rZY9bhiEwn5xlR8fj X-Proofpoint-GUID: SfNV36C9QFZWJc4rZY9bhiEwn5xlR8fj X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-05_01:2021-08-04, 2021-08-05 signatures=0 Subject: Re: [dpdk-dev] [PATCH] doc: announce restructuring of crypto session structs 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" > Subject: [PATCH] doc: announce restructuring of crypto session structs >=20 > The structures rte_cryptodev_sym_session and rte_cryptodev_asym_session a= re > not used by the application directly. The application just need an opaque= pointer > which it can attach to rte_crypto_op while enqueue. > Hence, these structures can be internal to library hidden from the user. >=20 > Signed-off-by: Akhil Goyal > --- > doc/guides/rel_notes/deprecation.rst | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index f81bd87f10..7140e345b6 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -151,6 +151,11 @@ Deprecation Notices > * cryptodev: The APIs for interfacing between library and PMD will be ma= rked > as internal APIs in DPDK 21.11. >=20 > +* cryptodev: Hide structures ``rte_cryptodev_sym_session`` and > + ``rte_cryptodev_asym_session`` to remove unnecessary indirection > +between > + session and the private data of session. An opaque pointer can be > +exposed > + directly to application which can be attached to the ``rte_crypto_op``= . > + > * security: The functions ``rte_security_set_pkt_metadata`` and > ``rte_security_get_userdata`` will be made inline functions and additi= onal > flags will be added in structure ``rte_security_ctx`` in DPDK 21.11. > -- Acked-by: Anoob Joseph