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 979FEA0C43; Thu, 5 Aug 2021 10:08:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64B3B4125C; Thu, 5 Aug 2021 10:08:55 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2082.outbound.protection.outlook.com [40.107.20.82]) by mails.dpdk.org (Postfix) with ESMTP id 7E95641250 for ; Thu, 5 Aug 2021 10:08:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QiPx4/2Y+UELAbGdasOEwZtv7ELZkPce24z4Hu8AmOM+LIDWI/jQ4j/M6RQw6/UQD1ChRXmTL1FTJUv2b5w7ZCkjl/aLJwEVULhMcU+9S375Xaf1HfsIXmDFIl328xLZ8TLSIv5uAZgVJlzeJ4dZHd5KEEOqp7rZRFeDEP0hVRqlVfseb71Ag2d+mhbS1lTmStxmR7nvDIWrYf702VExuxyJkAkR/3trjgxRilrat8DkAEQmTKGSpyUZGilHxAF+sR7q75JqVFnZVIOZyhx1SZ0ziqXmE+yZSvlrBKJUNzj4dcXa+3atb8SEf1bsuuhbWpMlW8mrH4ddJUIONEYgTw== 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=r9WefIWM+IvOVrT22yRMtL8NYfjvi+/9QFDQaXoG7s8=; b=Pqe6gMVVJcV29kC3k7lXPmyNdK75p/2B4SoM/wkb1m3bVSCTVqUjg6iCv9/aulbjDqIGhDqYQv9FiVHVDCPgRsAZCGRJfOeAMo3qjJqJ4DD1B5pyv5BZnhq2ot8yL8BxnSz6P/wgFB/mI9AzIHbAa48RYByFvzaNguenjg2g6pl+NyeZqvfzl/IYVHvNr2D7x+yTsamGUzT7d6X7Cpj55ZN1NHeY9HHyUMMPodPhJ2fLEygyejCo7u9233zsDXjw7a1vpu3npE9rOygEsElx3W2y50bRl6o6NR3k4CPNSqj/R/uRjMW/FlxRBWVkMijnI93+QQ4AJFEXKjf5kvX/Tg== 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=r9WefIWM+IvOVrT22yRMtL8NYfjvi+/9QFDQaXoG7s8=; b=bj63NrPUU6gF6nuerZXFqc+x2TQfbvQI/5i45QSKfJGq7sHOrZgE/hVWMcol1IQ5B27bqHeM8EqFtnixRNG8660YVTGiICybHiQbvl7gexBhjd7vJQhRxlV6E3KpP9WotS+aNecr4iA9If/GQT7k3b50c4ttcO+eRIg73ZkMrSY= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB8936.eurprd04.prod.outlook.com (2603:10a6:10:2e3::7) 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 08:08:52 +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 08:08:52 +0000 From: Hemant Agrawal To: 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 Date: Thu, 5 Aug 2021 13:35:38 +0530 Message-Id: <20210805080538.12063-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: SGBP274CA0023.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::35) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SGBP274CA0023.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 08:08:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d2d083c1-f136-43ad-c1b5-08d957e84360 X-MS-TrafficTypeDiagnostic: DU2PR04MB8936: 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: +x/bMFaUpOxSsdFVryrseM21sXd29xkMAedyWraDjLVGUaktAjnAqm5pinhrg0FZGR2/uT0+ZnLP2wV6VPNvJt35uatztrwSH3oGSmeqGLeJkPqrOG1LF8nCAAv0i47ESx4tWK7ZXJB8TN2rK38wvbpSKGkK83+BJpmU29k1U+9sEbHkjlZpLGG3Do0d+B/EX7l8QC0L/aRq9HyP6fGQCwZREV/5EFjb2hdU4o9i8uDnmcZeA0UQmOOk8sqJ7cMnCH317VtdE2HoHwLuGH2es1jP0R96kZ19JC/9fNdpRFmB+oaG73retzMQ5BM2in7v8k/KF0rSeuICXTLDEfMDnYivFSJMIOVG4VuYvcXsHzAupE+Vb+gMe+pQhl9kJxoilcx+PSf7jKX1RWdw93EdZeSryPEvD9IsyvV4k4eq7YXtB/laGhnsWWJe445ML0i0TOSdtsYbrDIHjccr4zbEUkGR7ti5se9/0vdiVRnPsokloRyOWQvmh0ZP5rJV2rm6DGGm02I1rD5BPbN5heyb6/EUoq2XA1DRhwttRTQLoUE/sETuHTatXk7Q/S7HF8qC5LiXs8iSxI+x07c+vVEgglg2JKYXAKOvvckjKL8fYA/VxqT10C1v5JHZDssfNb3XWlBvLdiN2JqZyhBpLJ5lbqCSxlIpbMuOX92cW9kVYIGuGti0XUVwHshXILWBWm1gZ3zPCuEo5LAZd7Cawzw9lA== 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)(366004)(376002)(346002)(39860400002)(8676002)(86362001)(6666004)(8936002)(66476007)(66556008)(66946007)(44832011)(956004)(2616005)(478600001)(83380400001)(1076003)(5660300002)(6512007)(26005)(4326008)(7416002)(186003)(36756003)(6486002)(52116002)(6506007)(2906002)(38350700002)(38100700002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ss9clUPpJL0ixtJyvaosqVtPLJJQAfBor/PloIYsOQjmwpOG77PoHbinVWSc?= =?us-ascii?Q?veh7Ge3RXGHPQPhRM2H19OhwhBOet3llLwMnKVGhlnzvVwwszEEOebGGmD8U?= =?us-ascii?Q?hBfQFf3hdjtFj37Gm/2oeHiN+0PCmmkE/TKpCOu79kIlfXy1Gbfw6LwcpR4K?= =?us-ascii?Q?gA+17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ke9w4cjKL6Xpubc7qgcy0jFMO?= =?us-ascii?Q?pzMMjid3mKcHPa+uCMwcbMzkc7fE6c7zzhJgNG592Q7/mkehB1oR0ySQA5QN?= =?us-ascii?Q?/z90AQIXvUfGkwmByHo1xFitu6YM81gdKLgEcAB1GFtJyFJyQIxjEUYP3KVO?= =?us-ascii?Q?L2P/vyegkXdpKJhTQ0Fd/hmG0dvOfRkaDtZgCnhWRBk22FHskUi4Ug9h4Z+6?= =?us-ascii?Q?wCjEFPYqeXRNrBuK7yedKUMzu/F6Yqeapeuuq/HJRv2knPHwEXA/rX8Z2cnU?= =?us-ascii?Q?wLdNOnKdHkRcvRGRstj5BT8Q?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2d083c1-f136-43ad-c1b5-08d957e84360 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 08:08:52.5752 (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: BTH2r2s1+8J3I1ZtPb4q/flPwKVGDyIaNzieuFoPP4yiaj4K2Ols10zQfqpFWtPbLBczU1C5I7Lfm7/nqKdqpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8936 Subject: [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" 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 + -- 2.17.1