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 9DB0FA0C40; Thu, 5 Aug 2021 15:59:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A4574127B; Thu, 5 Aug 2021 15:59:01 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2079.outbound.protection.outlook.com [40.107.21.79]) by mails.dpdk.org (Postfix) with ESMTP id C623F40143 for ; Thu, 5 Aug 2021 15:58:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iJZE49w0mn4Jtm0P4nIyi/8XJ4vcY95QnJS/lJdNpwXDploM8Eg9tYXIflG8UliNrCMrrd0PV5sIhW4JXTh80D4QkSAIBiI2gZ+iUnQI8L9eZrpXcCDwuqFnvPElXQftUEM9e+gD8DQDQrTH9Lq3b+XC+YN+0lftQp4zP184ehAnsBJaC6pwI5qpSw2Nsxa3t8ECn7SLlKcWajGFqW210dGFNYWWi4+VzHt85alRHwX7f5MV4659RYu19eJbSdO/mZwqDcgf4xqVMKaBJYVcB8NKL8YhHN+lTmHC0PBF2SpgkRlZ3RusJS3Aey6s/hyXcqqTlU7Z97qDaOpwyvR15w== 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=aDOHVmpO+fGMMVNEvNJISoKeGRVJjzpF0d+HGLMk2N2Dr9u1kPfB2OZVYRtlwJjIP9oN033IrISt5sK3Kebqwp96UBGNPx19axH28T1xR2V1jzF82r94/zmAlgSiQGWzHDn1eCMlOtOkvofa8Z/8EcayP7t3YyTNyRnmyRlrhyvqMw7I27ewWnvvk5Em4O/wFrIHDs7xUPMd3kfuwNHItJLFokkD8REjbbaWZDE+bXj1XcUspnHCEHj3cIwL7ZH9npkOvr60j0NBcf+uB3kaPREHJafyHk2gnz9iOjgj+mQhHlYyyI3ar7CHxGodkVAAdgsAdTkBn1Y+iokO1vehpg== 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=aGNERObbcvQ5I9CFBXs4P6ofNVC0FVJAx/qBSn+EsREJ1N69w+v5v9YEzN2wnPQUnctNY5oY+Dl2tR4T+libukHKKIZ5ActyDFNBgfN0fQdnyLezT45ba07JKOxJKh0bd43jPOtPOBlBMcF55hXpLBCNwQZ8KMH+vV4RgpmFoHQ= 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 DU2PR04MB8613.eurprd04.prod.outlook.com (2603:10a6:10:2d8::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 13:58:58 +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:58:58 +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 19:25:29 +0530 Message-Id: <20210805135529.14146-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805080538.12063-1-hemant.agrawal@nxp.com> References: <20210805080538.12063-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0154.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::34) 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 SG2PR01CA0154.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::34) 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 13:58:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff3af251-7b6e-4d36-8667-08d958192b89 X-MS-TrafficTypeDiagnostic: DU2PR04MB8613: 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: l+5VdoK96BM0mnvOtRb0pvi4rJ+ZAxPUoWADreGlF0ra2q8v17QUFhbDbUrZSyK1nsgT/7eXW/jSd5a9i/FIN6uXWSf1QhJzIZmbS+UuGOBnj48dNe0T8t0pbic4TCukIdAv1sbMVeHSclfKXNT8DFU5WruHJt4OStFfe/DkG7ygs2+OLLbCkKfE2UXBvBm7Tmaxf8HbqFhEgUkW3MWOm018cfjkq2oQvsCqrof5vVTTcQA0pELpRpTq/h+iKSXaQY4q2nN3DqnIKTnQ3Rw7xiWjDvTK3v2jOGCBeCvWXphYNlMNyn78mh2JUZQXSwRDniB3TvQBRhHk6y4/LZK3e7WwnaCfXf5oiKCyGS3DdiDceTBa2EbGftq2wIn/UJ2urtUFaqXd5Fea0/pqeOvS86Jfk/+E3xJ9/jzH2jL3IZXvdvZzagGEBsmW27MfyoL4XAjTZZjGy3Mp7djTVNDJES1D/96eJY52HwNIi4uSTs7bsX+pdQcTLcxhjd7pHiEAUgnW9AaFw6V5j6EYaAvwVKXbOqXT06wQ4XOnkqytqZ1P57jJCwa2x3F7Xv/TVLOCZNk5DeoDQU6nnM/YZsOdaNOT8byc87tycACTMiHVWYrZV6YSG4+tVuBm8cQJWyRH8PToiy1G95v42JuMfTjxnK7x9Y8GX4tI6S6Dkx7bmb64xnQZGOYta+wAOOarkVs1KSlXrUjGydxNhEVEIq+4EQ== 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)(346002)(39860400002)(396003)(366004)(136003)(376002)(26005)(8936002)(186003)(2906002)(52116002)(6506007)(316002)(4326008)(956004)(44832011)(2616005)(66476007)(66556008)(1076003)(66946007)(5660300002)(6666004)(6486002)(38350700002)(83380400001)(38100700002)(36756003)(86362001)(8676002)(478600001)(7416002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zBAS2f/oVQpS5rgwvuQT7oYLEIqZ5iGGE1auNcyP8Z+g30AdI0jMHq11UENR?= =?us-ascii?Q?g5HdqwIBtHWLRRb6M74SxWjbqSocbqFMBS1G5aqqbbCMd3A8HyZ+BYyHGMog?= =?us-ascii?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72/wSDuisueG4Lw?= =?us-ascii?Q?bPrExYQWB5LDjAmBdiDinHh45UCgkDnJRgk4oeYpf+7V7YUky63yt8uBfdmP?= =?us-ascii?Q?cv80CYL70FpaPUbSC1v11tbJ2Dhl8AajXd88PtqTAReFKCyDZ62hHPC/jLTh?= =?us-ascii?Q?H0oCN/5PUe9OcazvGOX9S+sAbIJKBClcN0VJRFHDxv7NhLauFOCu0rl+/Lv1?= =?us-ascii?Q?U0VdV0yxqmILlsFtpoQQ8GuN2T47fWhIV2kN7avMvjqS5u2unJWcFDSOnI1E?= =?us-ascii?Q?/zdeMpA6BC5UhLlQ/oD1ON4A6bRDsFMYheUheBmuuLXUW3o9V4FKr5xNhlsb?= =?us-ascii?Q?wNqZoW+VbtSZlzFmZkwsfpRZ?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff3af251-7b6e-4d36-8667-08d958192b89 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 13:58:57.9815 (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: 7GBxxnKM2FOqSL2AIIBRRv1b9j6svv4IwcU8DpIjAOBfhpC8Kne+xjTLKcMk3zd3VvMS7zH6Cu8DpSD7Z5ojmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8613 Subject: [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: , 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