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 418C3A0C46; Fri, 6 Aug 2021 08:35:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6C4D41293; Fri, 6 Aug 2021 08:35:23 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20086.outbound.protection.outlook.com [40.107.2.86]) by mails.dpdk.org (Postfix) with ESMTP id 3FFF341290 for ; Fri, 6 Aug 2021 08:35:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M3rM6X5PjkeMLlUDuCAG8+VQxzWcg5aCh+/JOsQAHpDrkFq6oh1M+/ATa+kJWS15JneAYFiKzNNsacdQfS4v/SaQXfQYQHu8km817yrrF4i5uJUIjMldFemrh/MbOXIhuAnOdw34BCEmZDQqrAoqud6LmoUgrSJ1OXHOi4Z6yb+xSBevoCO27v15qwzPAOi1A8KhTLM1ZlT2sxBaYqVaA+FHCjaA6v8sy3s1hjM3FdkLKcA5OmeYCZqN5KmrC1Rc+5DLZ6Za6/MmVdWr95VAPcP7NiA3llasrnwptLysCSC90+yFh/Dj/uL7KLKaT28xCA303PkUHXWgALGLzec/Xg== 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=3/c1eD8nV4QpE8/y1gBI0C8Jn/9rydOPnVYM1wxHvYw=; b=Q2VL5ejnFjJ8ynRIkUyyDGKoQHoWy5MVmhqE5dcYfGHZ6Bn5zqxSzJ7N6Y875uWwZ5KjXv8OFNRAB8P7XE6fsyGAhJaKSNIqdHRBkiFYwFHBStj9s32KeSBqed8LagPNISA9bWmJa3A7we30Ci6+0PfrHraDWn+USBuyJGb0ZnfOTUC3nVsx4qrO/FBJaSQSwxoNv92jpFPmDssAWk2RR8ZLHHwI/bK5bfkRr24iItDOolNcmOu8500tqgaLJga7nC8PVMjXjX1AJdF2v5DaMMxDyWY9/rrgT3m8Xr/6KWsUdTr6mR0jJtJ7CrC3W1Er0rLw4gbUTgJT8pp3hEzY3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3/c1eD8nV4QpE8/y1gBI0C8Jn/9rydOPnVYM1wxHvYw=; b=eSZwlTLaol4aUE3fOtHgdBlBaobVbvq+cUS8CoPGdrWLCEuWLzpiKOrnhIs9izsd+91wAxAyzDdZI+bdWB19O17hKAA+QZczTPmx3nDF7L3CXuXO1diuOCISThDcRnka32FyQ/8selcRmJD2Oqv4m9laRhsF14+SERPiu66dSlU= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB8807.eurprd04.prod.outlook.com (2603:10a6:10:2e2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Fri, 6 Aug 2021 06:35: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; Fri, 6 Aug 2021 06:35:20 +0000 To: Hemant Agrawal , dev@dpdk.org, gakhil@marvell.com Cc: anoobj@marvell.com, radu.nicolau@intel.com, declan.doherty@intel.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, adwivedi@marvell.com, jianjay.zhou@huawei.com, Gagandeep Singh References: <20210805080538.12063-1-hemant.agrawal@nxp.com> <20210805135529.14146-1-hemant.agrawal@nxp.com> From: Hemant Agrawal Message-ID: Date: Fri, 6 Aug 2021 12:05:06 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 In-Reply-To: <20210805135529.14146-1-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: SG2PR0401CA0006.apcprd04.prod.outlook.com (2603:1096:3:1::16) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.7] (122.161.67.100) by SG2PR0401CA0006.apcprd04.prod.outlook.com (2603:1096:3:1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Fri, 6 Aug 2021 06:35:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ab38ae1-c293-4dc2-81af-08d958a45c7a X-MS-TrafficTypeDiagnostic: DU2PR04MB8807: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nTym5FapG8KVgGUQHRCAVa7pwHqFL22/96ukyYRSKGO4FeyXNCVKBCnA7FxK1a42iddzqaDPbkCgU2UtjtGvuIrM6JVkD/u8QbI25Jevh82CEM+CDKATSjXe2Y1a/vDKY8MVVo/7dNUf6zNTtAvGLzQSLwRkIKSHcQtdpzDskaxfMqnvmOXkNWVIhyNsgT68ev+3bIito3j1DBdUTyx0Ir4SbDeCZ2eRmLhd6Qsyv4qD/Zfkqw/+fBzZ3gAayvKTJVs28vZjXjE70xlnZh20wki/cMwgYsS+HdLqY8ssvDwb4nQewc7Dw4XNlgf/2sGQ6OIk4lCF6vKxjL1WJv7LaAeLx89BW1GbNxmPcCsY0nhq507ffKA3EUBKSB+4nRQ+CeEbwk/UI0+sehz04VYRDTIvJcYy+MqOyZ3OlFS3o8lh9AZBbnjXJYFs9TiAPXAw3HD44NgwcirZNzmEU+QRT0GTyPOFw8vfnw/x9pBHrQrVOKwYOciulIz5DY3P8/AZ98SUDY8vKL9AQN2Jf3LSns7hqhahtQa8pcYTpD0boSKgfNK2SLON/z9JbYkwJDpBCwlfoQzthNtkJ5MSwcapgGkz2w8CTiQessDCmSd1OXM22R0EgAvAF9rcImZYUUtwpbKlCSYVmU7u0+Belif8wB6m+SoK0pXzAZGatm1DVzb+p8VseocuwPiqOqgqz3jQQjhTfesObjMdpP/ZNU4DUHgUzZcfnVP0DGd9jpwLrjBHHKxb+A5sOMpFXtZgk4rMxKo+C8kxUbpSoOvugWw3/g== 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)(136003)(396003)(39850400004)(346002)(366004)(376002)(186003)(316002)(16576012)(53546011)(4326008)(55236004)(83380400001)(26005)(31696002)(478600001)(86362001)(8676002)(2906002)(8936002)(6666004)(66476007)(66556008)(38350700002)(38100700002)(5660300002)(52116002)(6486002)(31686004)(2616005)(956004)(66946007)(44832011)(7416002)(45980500001)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3JUQ3JKZEVFZ2wvdzhmb2o1QkwyWE8xZ2pFT0Js?= =?utf-8?Q?33PkFOTDospBmxEYUmiWZ4HpzDUdNeyRCjcteul?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ab38ae1-c293-4dc2-81af-08d958a45c7a X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2021 06:35:20.1986 (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: a3bn9KeBRv5A0cVJp1RY45zV0tmt1uxEuM19QbzOGMbPPc5hufOUVFAkaT39xqkVoMqjo8xBez8axCBe0ETHoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8807 Subject: Re: [dpdk-dev] [PATCH v2] 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: , Reply-To: hemant.agrawal@nxp.com Errors-To: dev-bounces@dpdk.org Sender: "dev" ping for review. On 8/5/2021 7:25 PM, Hemant Agrawal wrote: > 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 and other > information from the crypto/security operation. This field will be used 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 > +