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 5D899A0C40; Thu, 5 Aug 2021 15:49:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05A0441273; Thu, 5 Aug 2021 15:49:53 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 295D340143 for ; Thu, 5 Aug 2021 15:49:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10067"; a="212297436" X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="212297436" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 06:49:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="637399243" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 05 Aug 2021 06:49:47 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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:49:47 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) 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:49:47 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (134.134.137.103) 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:49:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ap3epZlcm7XNmsyTgkJV5TCUxlNjKkK7dVfABhBai0bu4D866EMBfSSQwtDwDFwg6CQj7bEtEw9eNAhC8qZ5F8+edTuj+fRH4lvk9C5L5V1eAivIK13quGgjLUJvFnQpv75bBn/Lwaq0ltrbeI0KyZGnV32k26wAnbIWdyehranqWfyzo01jAPqMInamW549pX1LxT3zg9zsaHoNZvCl72jCDtcp5uTrChIz9LbODyo2sGs4BwzSB5W/JWYEVOsXP8eStxaY9RxdnBem0ZmQyM9iNeZREKJFhPTyIGfKsFWZAe+d+Tzs4+oBkL4U2orrXuSCVpv0lojd8z577A+uLA== 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=6OeP2X8ZIvdE6GeM0ZEhFhB7haAKK9ErTlbAyUDxZYg=; b=P+jYQA1ZuEqTnA81Y5oeOkTMKs8a1rkdhwuvuhwJnFn1IyrEx/enoVI2CIV1+b3lXO6HcQ3/sUf6pa0Z61tLJq9XwvAJYkxsXHfo7mW83DBpLvFcnmmItVQy1XkaQBev4Z8jlhUkWPZTIycat6ovQlolWkJHwugyFYjRkFeDT5xZh3Jim13922QsuAPlAqGSyTZDZfD5bD/ou4E+ZW1cksiqO5yJTNb5+ALlq6QbkcuTh+6mRrxiptS1PsABlKEsLXoceyslU3t4VC8Pp8/1GhW9zvObmkthc94jABZI3B2HDmURntQrwu9rc3jW0wRh+9uRP6GJXGd4SK4Cz8aV/Q== 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=6OeP2X8ZIvdE6GeM0ZEhFhB7haAKK9ErTlbAyUDxZYg=; b=PiclnNiMr/z313cuH31297deDxObJ4lulIskbYld7IRsNU34qbmvjHIlwVh069hnmQHQEbDDxLBiVQsvNmx+USSA0swC+Or79k12WA/Jr8dE4op75wIOP1+F7tdgUVWMAQsjUqDahhK7sZWAmA9QFI11jX2Uwv+4BhmEx+avdkQ= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by BL0PR11MB3427.namprd11.prod.outlook.com (2603:10b6:208:7b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.24; Thu, 5 Aug 2021 13:49:45 +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:49:44 +0000 From: "Zhang, Roy Fan" To: Hemant Agrawal , "dev@dpdk.org" , "gakhil@marvell.com" CC: "anoobj@marvell.com" , "Nicolau, Radu" , "Doherty, Declan" , "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" , "jianjay.zhou@huawei.com" , Gagandeep Singh Thread-Topic: [PATCH] doc: announce change in crypto raw data vector Thread-Index: AQHXidNPYNH3/PTOmESX9FZKAgoU7qtk7LmA Date: Thu, 5 Aug 2021 13:49:44 +0000 Message-ID: References: <20210805080538.12063-1-hemant.agrawal@nxp.com> In-Reply-To: <20210805080538.12063-1-hemant.agrawal@nxp.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: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4334df64-7b32-407b-86ba-08d95817e20e x-ms-traffictypediagnostic: BL0PR11MB3427: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KXvwM4E6Kvh0DSLIS6vEaUuuWh7o1rby60w3HLXaq/OmlkvedZB51UOFPdGrNjKvZ2KFTGiUddyt8w2JliTOLtB4J2plNCUOaNKhdopg1pz0iJvMtT9F0fjjEKQEdIc4rM4aUhxwTtxk1INiAhYhaEdkO5iimNDN3pc96pvvPdwY9tahnPNQni7mFCCR2VrTaMMPoXaHb17ak+U4tm8+iQXA/cLGIqee763lHAJAJef7q3EokuLMIwupMOJHwtPkImAp/zym4PNfA6AgbUPivN9IwLxs8k1a+v9vICOEkjfF84SF8EsOWN62yvfN74Yh4hBmUePoEBokjqdQhYT9RJDD3cjqcV7G0OiSEnaGyvjm9EbrWVR+reW2XNlQLvGbuBLa1ysstx73XLWeds5fIpFACuQDFjaCyFCvmYVBECUooJSK4BPh7G0GMr3lXhQQQTwVHmDxd8sY1cpnL17NFccGxDQ5u5iUvZPA3Txz3c9zpsreXbI/dacGzGkPxPkXgAwAuAg9ZnwRs/rnazPcUcvBoGqdwaKYHt60jzsDJu83zsFIvCfMFfeCUUAqqGzYRlOU2fh/zV01mu2vOxeqfwYZHWQfVl/qO1I3B/1mnDgY961845wXLBAo+ba+7Zj3FqNKVt1BAxzjC5o3rW5S9ZKm8BphuZbYArhVGgssH3rKGRivVJBR4IssZ5vHwxUXIWJc1oyH+RMSCbROCvgGow== 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)(39860400002)(346002)(366004)(396003)(376002)(136003)(478600001)(122000001)(2906002)(316002)(52536014)(38100700002)(66946007)(186003)(8936002)(7416002)(76116006)(86362001)(8676002)(33656002)(6506007)(53546011)(38070700005)(5660300002)(55016002)(71200400001)(66556008)(66476007)(7696005)(110136005)(4326008)(83380400001)(64756008)(9686003)(66446008)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?mXL3SD7oPz/DQz75e1Jrjn1eL5GGmX1cdKVTXAagkL4GNk3QascNsQHq?= =?Windows-1252?Q?KryOXc6g+h51ReeRSCrrskOs1PULYxKMoUgSph/75L+TtLSgiw3CNWZn?= =?Windows-1252?Q?WMtt1g/DJq12YtEmu+vi6IFLA2adRejf7kY20A1XodbOtjojLiiDzaYP?= =?Windows-1252?Q?XRqBBfsGF0XBv4I6nY2rJhxmvezGMV/YaO2AQRnnp0DejON2oi5mu6sZ?= =?Windows-1252?Q?bWzEboqW+KV2XESHfTT9wb+ndVLdqxu4DnqlZ4ospbZkp7pb7rJPoyyw?= =?Windows-1252?Q?VjUTA8v0ZPUkcEUlRb9nQnDy70117s75yFvYw/tqxb80fIcwQrsgNgMt?= =?Windows-1252?Q?w7Inap6pbZ/b1jeWcgb+ggha0w5EdVz3tgwpJ7p4CdbSM3Mg7Tisycqu?= =?Windows-1252?Q?1DvqadxnDSqqNVHejr+o9aR9DbAR4UipVdWZB+d2+rFkEspLTQTAKc/T?= =?Windows-1252?Q?KPeTcjFWc9NbAczE/a9wlonawicNJkP65egFx2Q5xymZ/rOHvY7oUys0?= =?Windows-1252?Q?T1YYIhVnZ+HUQhl1AVpOxcojRneY4h6oSX4ndENw8OfSzxVi8NRDtVou?= =?Windows-1252?Q?vodoMFAUL0NBOQ+s6/J4UxwkoOlhExhT+rBa0hRHop0akT/Fj2v0YHdM?= =?Windows-1252?Q?ny71UKTEuLa/wysqljKd6rgL9x15qMSL3hveHa+VTj1WZHzAxD0Mypy6?= =?Windows-1252?Q?554GbwmswfGAYETyv8B45mN+zPepegvKwmwXhK4qKNmsdcOi17oMFJxn?= =?Windows-1252?Q?ka0GlT65c5vctyELPsVi3ISWtouUXxb7Ou8QoUwUWTCVa1iOHvbKLmE/?= =?Windows-1252?Q?vc77ZsZ6051/0TwB3D3fI20M/+00zvMd/Sx/rqZUy4qeZclyen9PkVll?= =?Windows-1252?Q?ZmcePG9dt5gUJydnfpOTQghbYT6OzJTXlH72WQpGd85FpUrep7DQNkm2?= =?Windows-1252?Q?z7zFtY0p8gjBRmT4mMoANdY8LtZliIz4rnpZYfH4IMvdaC4440ADslX+?= =?Windows-1252?Q?ZpbmjXoneWDyliHwGmxbcrF0hANWGjKTjUP7sTekV70NVf7z4fXtzfuK?= =?Windows-1252?Q?a+oiCdpbLcrVoL6zE1qx6vFeWpQgNsa+MwjAhtUewb0gj6QYgQgaKM4C?= =?Windows-1252?Q?wTBiE1YeJtekAgOOYEkGs7xPoJRlQXqJ8p1+rcom8y7r5PyF6BkKjNqh?= =?Windows-1252?Q?HKyi9jt61eYZzqQDrO1HWIy5EvbYTXgFaF4FcF0yNTw/8nHy6sZskyhM?= =?Windows-1252?Q?RTDSwgVV1SVE+b8urGJrBxLsYiDXoMxyL7g9q2RHJo/6qusgRkAzMzs+?= =?Windows-1252?Q?4r7y1kkqFToh/ky1y9zxnIqu1E6lYGZev4tLQG92cCb4E0NOuCNUwbOZ?= =?Windows-1252?Q?M6y/Nz06hCvvR5SSYUBiLo21GfCbHtfMxTkUGCLzoutHDfCO3AscqR/B?= =?Windows-1252?Q?wlFY7u560kpebcMZQfbk+PUQZWcVjsS9VJmoZvGa/dXvGbEamcuqXZsy?= =?Windows-1252?Q?E8/J1sod?= 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: 4334df64-7b32-407b-86ba-08d95817e20e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 13:49:44.7681 (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: bVwifFd/287y7Y+87VpVBCP4/HG9Ili/292N5oYPTnOR199Wnl6+nu2ZahH3rEp6DXZXBNghARf4Q7yKMznH4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3427 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] doc: announce change in crypto raw data vector 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 Hemant, > -----Original Message----- > From: Hemant Agrawal > Sent: Thursday, August 5, 2021 9:06 AM > To: dev@dpdk.org; gakhil@marvell.com > Cc: anoobj@marvell.com; Nicolau, Radu ; Doherty, > Declan ; 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; > jianjay.zhou@huawei.com; Gagandeep Singh > Subject: [PATCH] doc: announce change in crypto raw data vector >=20 > The current crypto raw data vectors need to be extended to support > out of place processing. It is proposed to add additional desl_sgl > to provide details for destination sgl. > The same is also extended to support rte_security usecases, where > we need total data length to know how much additional memory space > is available in buffer other than data length so that driver/HW > can write expanded size data after encryption. >=20 > Signed-off-by: Gagandeep Singh > Signed-off-by: Hemant Agrawal > --- > doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index f4a4d00db2..c19a306c93 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -193,3 +193,15 @@ Deprecation Notices > reserved bytes to 2 (from 3), and use 1 byte to indicate warnings and = other > information from the crypto/security operation. This field will be use= d to > communicate events such as soft expiry with IPsec in lookaside mode. > + > +* cryptodev: The structure ``rte_crypto_sym_vec`` would be updated to > add > + ``dest_sgl`` to support out of place processing. This field will be nu= ll for > + inplace processing. This change is targeted for DPDK 21.11 > + > +* cryptodev: The structure ``rte_crypto_vec`` would be updated to add > + ``tot_len`` to support total buffer length. This is required for secur= ity > + cases like IPsec and PDCP encryption offload to know how much addition= al > + memory space is available in buffer other than data length so that > driver/HW > + can write expanded size data after encryption. This change is targeted= for > + DPDK 21.11 > + > -- > 2.17.1 To add ``dest_sgl`` to ``rte_crypto_sym_vec`` I suppose it is better to ren= ame ``sgl`` to ``src_sgl`` in this deprecating notice too? Regards, Fan