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 D7E22A0C40; Thu, 5 Aug 2021 15:57:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB5E541280; Thu, 5 Aug 2021 15:57:31 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 215C94127E for ; Thu, 5 Aug 2021 15:57:29 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10067"; a="214184369" X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="214184369" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 06:57:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="442412011" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga007.fm.intel.com with ESMTP; 05 Aug 2021 06:57:29 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 5 Aug 2021 06:57:28 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 5 Aug 2021 06:57:28 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.177) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 5 Aug 2021 06:57:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRD+EFavfrQpb4gvAgMNJkN569oxMluo57FV7s6DW3tUs8s2PCuIUqlGUcq5j30A3y5ve+Q1kb1rkmCGaVeq17NYTm2zuaKoO/aDoqzi1Voc0+pkF7/eck3DEsm9bn0dfQAIjRsG2WU+5fycjvbNA7QUvobqui8JG3WTCiyGB+jMc4egKpSjjwdtlBrzfEvY58Ka8V5pUl9dbQhpp0VRciGsvfXQZSwe2N1416zTGXAm7U2vjDKSvUobAcIVeDe0HwyAyyBhaRsvdcRx/ZTc5yQwcrKwFAc+H9q5zplM4OpkLT6ZjCD1T4h1lALmqVA5ag9CPodf2/sDKFZnq2SfVg== 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=NRaxkUMAMwwIx9mu0s0xqJ3YXkBLumXM1CmBodMdZpY=; b=jjX7QAdxcJEZuI8u7CnfrnFSnVuMpJnnq+5ai+HlGgnb/EP9KVz8O3DSiqHVDFkuoRgyKPbyZ/BzPuZ7Xcda2cTOq9zfmAaa90UTXRSrFnxWcWhfVDGqqBbMG3cK71Z8nFWU5OSpgd0Sj29Ph7KYGM/DxyPQ5ak9v6WBfkFPuB7NKhOFReuABpSX0B9FEf5scw21QpxwVLMNBWuOuucEyMbmDMwt4AIaLwPNLOn2+lTviggF7/vXaHpuXhVOfvwhnbcNZGSqV7Xn08tGmOnJGlhhy3E6x2OoByw4w+5OxpmBaPuA9wnTXZAQtSB3F2lMrguKX6DoyDMrRviYyA2LvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NRaxkUMAMwwIx9mu0s0xqJ3YXkBLumXM1CmBodMdZpY=; b=GTl84GdiA5V4aA7aeRlfcUrpsEZgg7uhScb6osjtNSSY1T3+gGBEyQcNNTt6J94lP4XeK/2dUOpzNepisLUlLweTLhCsoKBFhW51ibkKdmNfVdyBlPJ7edVdY/1htS3YUsEFIm34O9xu5ZD+Q/qfmfEWtSEsAs4k4xCdWtM11i0= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by MN2PR11MB4566.namprd11.prod.outlook.com (2603:10b6:208:24e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 13:57:27 +0000 Received: from BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3048:2055:b488:129f]) by BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3048:2055:b488:129f%5]) with mapi id 15.20.4373.027; Thu, 5 Aug 2021 13:57:27 +0000 From: "Zhang, Roy Fan" To: Akhil Goyal , "dev@dpdk.org" CC: "anoobj@marvell.com" , "Nicolau, Radu" , "Doherty, Declan" , "hemant.agrawal@nxp.com" , "matan@nvidia.com" , "Ananyev, Konstantin" , "thomas@monjalon.net" , "asomalap@amd.com" , "ruifeng.wang@arm.com" , "ajit.khaparde@broadcom.com" , "De Lara Guarch, Pablo" , "Trahe, Fiona" , "adwivedi@marvell.com" , "michaelsh@marvell.com" , "rnagadheeraj@marvell.com" , "jianjay.zhou@huawei.com" Thread-Topic: [PATCH v2] doc: announce restructuring of crypto session structs Thread-Index: AQHXiF97YIW/OpvIP0qm7wF9Hsp9AKtk8YZg Date: Thu, 5 Aug 2021 13:57:27 +0000 Message-ID: References: <20210803115512.694546-1-gakhil@marvell.com> <20210803120112.694697-1-gakhil@marvell.com> In-Reply-To: <20210803120112.694697-1-gakhil@marvell.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.0.76 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 92ebc703-830b-41c0-9ea5-08d95818f5db x-ms-traffictypediagnostic: MN2PR11MB4566: 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: D27n6f6YFsvWYVo9W4ah9IztLp7u/uJm0zuIyBR2Pk+9tid20mtGxAhXRlsNek8jlLD/2SbSHs1akhD0A9bYjXybF2IBYZnbXzNCIo1taeTeH24C//cxlPB6W7hk18/k7bSneN6UIh0ZOQUV0YJDJThj9G5tXBQQOJAG6EhA+RaxZqmHySuZxHLQGckLPe/kmO4DGaJ75NcPDzCsnlyMRAi7dSrL9dcwpykTrGzjs+1ROpGwBr4XL0Q8gTBNCSxraK5ppTmJ52RaR8ycAan4V4y5Il3SR4jxtiLcpX3qflilkFzxEpse9mF9KNiE4CM1sS4NsN8q/54cWoqrpQMziq9ByHDrF2iKUBjkiiCCwu3IcQ+13tu/+1ILd+1AcoikDfERWiiiAli3AOOrRdGioYnlCMzUzHPi5z4KvnNVltLymAjbWRnWg+kfkc8wySQHzsILO88TP32PDxfTOFHqIysYdm2hK/GqlbUyl3Wt7QJaNj+t8kJqv92VoJOfRlKOaL6yhTJP88MyQn0/eN/g4XX9rPZB3TNRwGOLLfzOKpQWzj+N3ogWCeJg8g52FnGBkera+I05QlV9bSXBxOsyKqrGeFmz29Uy17KdCkBK7h3z3imdU0aMCXWzd/NYQQHAC1vMGGdMICUEIXO79SZO1Gd1R348giHwXC9VR6rXCmc+YECPeNJM3acKbV1HpXEjgKQgm+tFvCgpGwq0nWGQkg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38100700002)(64756008)(66556008)(76116006)(66946007)(66446008)(508600001)(122000001)(33656002)(55016002)(38070700005)(66476007)(83380400001)(9686003)(53546011)(71200400001)(7416002)(2906002)(4326008)(186003)(8676002)(5660300002)(52536014)(316002)(54906003)(7696005)(8936002)(86362001)(110136005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?BN2tf3deGtzeL36dexYoQHI9puYCuD5okECvGBGjhv7rETP+qmE+osR2?= =?Windows-1252?Q?f3UpxgZXl87HeZ5xHfaauObgcBckIBm6Erm7q0wCX0HGuTylZMvTZc90?= =?Windows-1252?Q?spc3xoOYeUlDuTXZNmibBMLWkuoytFIsKNeLBnG3vOxZ/BmOt0m6j4dN?= =?Windows-1252?Q?HHmhk0sDOaUcN+sQ9hmICY10Y/JUaLlNshUA+ar8mKhGESM7W+SCoW8Y?= =?Windows-1252?Q?5ZcfCDIWmZGBxZmCbLJ2RSPc7uzqHqC+s4kVs8iXhsVMPC063gpWEjq7?= =?Windows-1252?Q?+I/IkCdlUhvXai9koUNtRcQ8zZRLcLT1GhDSbX7FwcwV6bILnstjF44/?= =?Windows-1252?Q?Ar7bBk+Pw2YfypFFABG5TvbJszgfrhucTFmExfs0Pt5NTbLZ4LkjR9no?= =?Windows-1252?Q?2QILspjPh1R4NeyWMIMYEG/ufwi6Ew60kL8N4axlp9pbEje0TmHOXIii?= =?Windows-1252?Q?FGOxPID0P8iBEyAQx37veSXOFplQMeHMyQo3HrTTS84JiDwhUX7pzxah?= =?Windows-1252?Q?GZMlh1ROuvC5omMCDe/4z1+zYyFHxqAI1CXDIgpSoh+uqDKFDWjMFiCf?= =?Windows-1252?Q?EPoTGjduvWy0f7hhUKIxo6cSNGELlp7Pslw0E09Hvt2ZsxlLFbYRuwMN?= =?Windows-1252?Q?qOwNkPX8QppJBjUwR5tK3jNzU/skxoe11pwehzax8nCor1mMfqV4ASNl?= =?Windows-1252?Q?U9zS1hYjfUS8JqNIsP4m6mNb0TMW8pWx4lbxEqYVYYskxTcXPxCkbuzO?= =?Windows-1252?Q?eS9ofjzpRek+Rg8OJ/R45Pmd/NY8yW92YW9z/PDbLk/4VrNE8UkQL0qd?= =?Windows-1252?Q?iiLmY3LqnMHL2qt4tOdwJxKTn+xJG9+IXzQ4tPmkH8RCxPv8mce236k5?= =?Windows-1252?Q?sIa13BaCNtB0khVNBdFJ0UAmrEYpm/rsBjheE7SK50EkP11Xi+AXZsFj?= =?Windows-1252?Q?7IPo2pk4vlYfeF6SRHwSpmHBcKjJa9UvwC9HQw/impVW4XQPVQRPJPWG?= =?Windows-1252?Q?MiHJXXetTvICBKF8oaCME3/I0wjgLzqKVX57F2M52nTehPd2HGURD8k0?= =?Windows-1252?Q?xjOAy3dW5zZ7IXExeJbWV4S/i/+3Q4P72SGRiQDaCkKuT0byXQF9A09y?= =?Windows-1252?Q?LszsjyU44ybzJRSA9/7fkxr/k+JgXqqRfvljjk85mSVC0MTPgtxhYCtG?= =?Windows-1252?Q?zhm+v8xkqG28L1YKQ7V1OB0OacqxfeLnbkw/L/M8iN1P+8z2MaihBc/7?= =?Windows-1252?Q?sxigVqFBu2MEs8BFfejENemn0yxE2ziBdC036/zO1jxeKgMIi6msI7CF?= =?Windows-1252?Q?14D3CcRWoKJRwTmyIh+pASfp42l+nnRP8TafM/F6+TXXVbHAprAwNVSV?= =?Windows-1252?Q?Y0iKjal+JIQ+1qph3z338vuNxLs3sBWVLKSnyl6POOr2+nmktCZpe2Kj?= =?Windows-1252?Q?dM1gio04Ziraf/bAgmTLpSWc+BQX4T9xHkOF24EsZZkYESvAPVZSWWTA?= =?Windows-1252?Q?efiM2b7y?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3043.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92ebc703-830b-41c0-9ea5-08d95818f5db X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 13:57:27.4627 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rMhJXxXHbV5ZU60u5Z8qE+QP7bZflCYrXA9wFSaigKb+FleZ0q7VxXLqhGuEJK61BOyXYV1y/J6Pxom8Jb/YGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4566 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] 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" Hi Akhil, > -----Original Message----- > From: Akhil Goyal > Sent: Tuesday, August 3, 2021 1:01 PM > To: dev@dpdk.org > Cc: anoobj@marvell.com; Nicolau, Radu ; Doherty, > Declan ; hemant.agrawal@nxp.com; > matan@nvidia.com; Ananyev, Konstantin ; > thomas@monjalon.net; Zhang, Roy Fan ; > asomalap@amd.com; ruifeng.wang@arm.com; > ajit.khaparde@broadcom.com; De Lara Guarch, Pablo > ; Trahe, Fiona ; > adwivedi@marvell.com; michaelsh@marvell.com; > rnagadheeraj@marvell.com; jianjay.zhou@huawei.com; Akhil Goyal > > Subject: [PATCH v2] doc: announce restructuring of crypto session structs >=20 > The structures rte_cryptodev_sym_session and > rte_cryptodev_asym_session are 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 > --- > v2: fixed trailing whitespace. >=20 > 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..c540c90f8e 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 > marked > 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 expo= sed > + 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. > -- > 2.25.1 Have you considered how crypto scheduler PMD can support multiple crypto de= vices' opaque data pointers after the change? Of course it is doable by add= ing dedicated APIs to the scheduler PMD - shall I assume you will work on i= t? Regards, Fan