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 B47BCA0C40; Thu, 5 Aug 2021 15:52:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4207D41273; Thu, 5 Aug 2021 15:52:23 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) by mails.dpdk.org (Postfix) with ESMTP id 6D52E40143 for ; Thu, 5 Aug 2021 15:52:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VaMrxbJh4z3ByjFxjJqNOQT83g9BKU4TO/AZ6BteLSY9uEHjfcBSWpcAOuV9MRzTeuoxZwyMUBWNob6ZeeiosYNli3kaXVfTWmOttZCEnZJlYV0LkTafAhhLQw0aqHEdbHv/k4uGyGmvzvHDlfElWLpfzVHyRUnnkK/wTwBcO838JhS6zYPYkJi/Py740/u+CKHL6+4ZeEgPoft5b3cAWrhJqt85iJPTIKpZ6Bw/f3rKKmv6KiZv3+lPm9UD7lT1+KpKp1QEHQhtA6I7e5iKXHc3ne2MXtE48i1J7JJbcw0SSnAa73ss6y6TDwX669mkp0ojRQKX9DkH6tdqfTTYYA== 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=n2dKXBeuXTMXtHk69NoXii584PcnZDYxVim/XPBYxU8=; b=J+E08CvufDm5LQnMY4WIfcLv9A/Hqz52ytJtajjxKCB/uoEAJ1NtYVK/VrQGLd2lqQMXGMkcWa6Uu5wGMaok9VeBrg95eecQEg2ea42ZLVDPn2QYprUYLa8XwmxOQ57Lwamf73QIEtIJcA52O8GLNM7zzCe0yW0yU7wUSKcKLfhiUT+cEmHDCbq9DfkGoyyMuncBiYvrxhZEDHvvpXyGZNZo7I7zPXUhmm6GeqR/1brRieqm0aECpJf3xZtdFYIKUlW8mzG4agld9KCg7NEoeu0VudVNAJV9MLqyBKjbmJjnEQIn7UWmwD1+54i7PhhBLaneDAxMTGAmNe6Ihn1jhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n2dKXBeuXTMXtHk69NoXii584PcnZDYxVim/XPBYxU8=; b=OtayAN9SkJGYs5X+uCW3WUOPiR1YbK6wF3Ippn2kT2VH8YJpvuvSD24FyERtfGyGYfbTA9qTSyXNJ5n+I4p22mBKhZEFNLoLCPlkuhyMLBtLP9mTWTtEjbUk2ONLDmaOUJmzviUA3BXQgrTuId47jfISrtrotBrvt98JPUuSWBk= Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB8503.eurprd04.prod.outlook.com (2603:10a6:10:2d2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Thu, 5 Aug 2021 13:52:20 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793%7]) with mapi id 15.20.4394.017; Thu, 5 Aug 2021 13:52:20 +0000 From: Hemant Agrawal To: "Zhang, Roy Fan" , "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: AQHXidEhWkUSMb0h1kGfyH9zM+B2u6tk7dsAgAAAlHA= Date: Thu, 5 Aug 2021 13:52:20 +0000 Message-ID: References: <20210805080538.12063-1-hemant.agrawal@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b0cc9b58-dbdb-4d85-30d6-08d958183e9d x-ms-traffictypediagnostic: DU2PR04MB8503: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iBcRhnRKE4K7NUClnfwyDDHE856KhHE7FxDnLKmOpe9O8H5mEr97CgbX7kBocAnVtB/hJqha9zpmQmRzy3q1+2j4RCXDVUnUFKEYH5d5WNwnpHt3dfao2U3rI2yhfmd+9rTpsDYqiWjkC3F5Ue2ZH10AfC4y2AA2wuRG4QTbTkfQnnNTNKxnrix4/nYJT/SZDt7OFPtH0IdT75D3S3fHpYjbGmWlwHb5o3GJTgZSCGKrKWFnGeSU/h8jd0jCbND6CDqUD17SKu0Hd40mloGssqgQAgq91lp4bKvWnS0+KVraXO/tOTijFOfMoVTTugsao4to2efZySjCvFnYH0Nk9iHVj7D9GNuB5P3K1awIh7gG1I62Chc4TIh5DWRFj3MLL+PzQhiw9wgWjE7zPOh4zJ86XdxO10Cf6DsNVV8UHLu1oetNIniufC4sVXMG5DxfUgl+a3uez8W6e7XhvAHSZRt6YjPMOWSfHwZSWK6V0vFhBDhNpo9bVbkXw34m21OttTlD48/6hKWPgRxMScSlAb3bZ2fCCfvWuLDQgwAC0XrV192u4q6HY2PQm/2DxLS+TjrELJBKWNqZ0x23QlQRNzLrb3/ZVDxupOybpIp1Jk18Vry+CP3siukMpedH9PznADh64ZGD28u+4UI0US7NyKLN7N9dBv6xz8JwvyFuWBluUbsnBYPMns5ZYBRtfbDyKzXRfNV541an1vqzuCgDDQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8630.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(376002)(346002)(366004)(136003)(86362001)(83380400001)(7416002)(478600001)(44832011)(66946007)(7696005)(2906002)(33656002)(55016002)(8936002)(38100700002)(55236004)(76116006)(38070700005)(8676002)(316002)(122000001)(71200400001)(186003)(52536014)(26005)(54906003)(53546011)(6506007)(5660300002)(66446008)(4326008)(110136005)(66476007)(64756008)(66556008)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xXgq03IdNSXe/r9lhE3aLTIYqYQ+SDknwn0MPPI/upPU3zINnZtMXZrwvh/O?= =?us-ascii?Q?2WkAeLAq8ogg3PVkTLyDj6WBih2Bmpcg7LBgoOZ0kJ3ddjVFRk+LcZvIZTOS?= =?us-ascii?Q?SYjGYcEC2DhClRXPgspP2hBHVa+P9bhXoh+F1OQb5f7889ku8XZ8nBhbdday?= =?us-ascii?Q?nMqaI+oMyfhv6L0Es6EyDepkUQiL4cB+8TUaMBtBxu4JWow8sWAYJYdanREm?= =?us-ascii?Q?Vz7LWSX91TPNC0OepVEPsC8A20InXi7m6NxCmnpLV8RvaNZgY/+3rP7c1Kpz?= =?us-ascii?Q?1c5U1E51DJzU71RAiebt1FO6huvrSBDr/KUPuWz2Qkj/RaSGvibutT/yeGOL?= =?us-ascii?Q?2SalLka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DkLFJ19gQolPQn/69sObD?= =?us-ascii?Q?JPp7FLXy+09EssjOmTwLMBEB4DgkmKV/TBBkyBD1yDGB99wCOxNvzYCqeGPH?= =?us-ascii?Q?pkmh7OQpm4jiydVz2XLXDfQh?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0cc9b58-dbdb-4d85-30d6-08d958183e9d X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 13:52:20.0812 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aoTba0UslX5zq1RWyEW7VLcUQjfxxsVb5nJAok1oArZlDo9DaQCUW9S9KCHWFQbaMhMBMVlxl8jqAuAHf3Ei2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8503 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" > > -----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 > > > > 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. > > > > Signed-off-by: Gagandeep Singh > > Signed-off-by: Hemant Agrawal > > --- > > doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > 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 an= d > other > > information from the crypto/security operation. This field will be u= sed 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 > > + null 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 > > +security > > + cases like IPsec and PDCP encryption offload 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. This change is > > + targeted for DPDK 21.11 > > + > > -- > > 2.17.1 >=20 > To add ``dest_sgl`` to ``rte_crypto_sym_vec`` I suppose it is better to r= ename > ``sgl`` to ``src_sgl`` in this deprecating notice too? [Hemant] I was just trying to minimize the changes. But it can be done.=20 >=20 > Regards, > Fan