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 51B53A0545 for ; Tue, 21 Jun 2022 10:04:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D3BB4280C; Tue, 21 Jun 2022 10:04:44 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2061.outbound.protection.outlook.com [40.107.102.61]) by mails.dpdk.org (Postfix) with ESMTP id 0DE09427F4 for ; Tue, 21 Jun 2022 10:04:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZKru2HbvoTycH/1Z6KeOFtpDnmQEpzKZpsJ5/8ZuhxUGLH5JMAsCR+bS1+I3Rg//LRAr7gIqqqEXscOJQ5X4ci6RemnV2W3HjftI9sfeUw2/OtxhsqYmIr/3w3+IzOkuARdIM3o20jXOPI8uEU1pIOFaPqf2WdtvZmVaw10+adbicVD52QlhrE8o7nMP46wg8Z9yUpjJjA/5K+SycaFGjOyK90QKSs2gHTUiPUTP18Y7UQspWac8hC5y+633/00bOKYZKipMP1L3gB3Vkm944M7QF9ayxyE6ZYw35IL66TmboEb03ULNLsyvwIASZsg2wDk0TEBZhlKB0z744rMvew== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=G1XlFT5kmWiD9APbyI5Uj6y56gPKbo2qqV9rwODkHRM=; b=SchVzifou8HXM+jUOcdsTLxRhuPVwdaSfUazILWcrgqkXZOxp/JomeT2U+t+eSSvxT/UrDSxRwbyHqED8hmry5htnPo1Wni2aEskYwnvyedDjtq+lbjrmreuXG2Mcmf13dsu6hXaFC6IVv4Y/r3LqRxvh6IypqRpHPROagQIud89qLyTM8pICP/HTAkp8zbsZJ9g39hCyV3Yqpb1C3sJLwWAvBOW8Gj2dWsE9lxVmhA/LuFsQhkTdacufOW9buwAgFdL2YXFKgHMhqce59WA7e6TKvT2/qt7ZjB/viMNKog0zimf5pb8UShL8GbUVywd5WLvyW9uRTTuJ4Z4Cbb5HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G1XlFT5kmWiD9APbyI5Uj6y56gPKbo2qqV9rwODkHRM=; b=MXfyIJFh11kLkwhYS6hn5PgDF0WdsXMv/0TJiZ+04JeEBPFxI24gtjrPv3lIYfFnB2nJPABDPHhTwnV/GObi8txlMNfy2jQS5v9UNRqlGIbq5NYQ5bTL9ZJyXWneMV2gq5NmArrrwRE1PJ+YECwo47waycP+xOhP9nBoyFyIyv2F1QHc8dsQBRIp+xbJPAU5mMvF4iLNIBlJuxRO3BakxgLnVe0RyJ6jbQDAInagaoVpHUspfII9O9lkJeXjBpKrh2x9xhxQ1ho9IGTJyNZzVzF8w8G1IviBjynItO9fge2NY1agEtb72csiLg2rzEarg24T4ulMg6XFmnh6MR6gVA== Received: from BN6PR20CA0067.namprd20.prod.outlook.com (2603:10b6:404:151::29) by MN2PR12MB3424.namprd12.prod.outlook.com (2603:10b6:208:cc::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.20; Tue, 21 Jun 2022 08:04:41 +0000 Received: from BN8NAM11FT018.eop-nam11.prod.protection.outlook.com (2603:10b6:404:151:cafe::f9) by BN6PR20CA0067.outlook.office365.com (2603:10b6:404:151::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.22 via Frontend Transport; Tue, 21 Jun 2022 08:04:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT018.mail.protection.outlook.com (10.13.176.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:04:39 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:04:35 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 21 Jun 2022 01:04:33 -0700 From: Xueming Li To: Gagandeep Singh CC: dpdk stable Subject: patch 'crypto/dpaa_sec: fix digest size' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:01:21 +0300 Message-ID: <20220621080301.2315720-16-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6a0f03cf-5228-4323-1c48-08da535cb10c X-MS-TrafficTypeDiagnostic: MN2PR12MB3424:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y8e1fMZoA8oglANd9HnJXcjPiIDOeHk5S9y9zbMC9U8rtywNtt7Ji4otqi8CMple7dIZ6cU9HRywngDI5TnJ+y0uWKaqbAZkL3/bS/bJvfc95Icx5n3LCYQg2fk9hQWOx2XoqOnDhxnxCjM4ZXSDghvWCMBc6igIw66n51PL07naZuBw0+g2ETxKqRxcrCeOHPmru2oMxtFystR4/SI8FJEW7eHxlfsKk74gllusvG2zkTVbid454q3jffHl2VVctLkgxWRtibVJeElo2YnpmG9uyGm2t443VkODPvvzgVIcLlcPw3HK2bWhizB/SCnM+ExXhEZcMmIcUO3KoMtMvBr9oiZsYajMY1IDTmMkH0LEmdBPIlgD6dej06QhEilOjLgC1IdKViRk55KpDSdfLnfO8HnN3hhJVGBnNMkSOaFE6NZixwzfJ911c0jz2LMMeoUL+/qsttgjX5knxjzWjMxCOqvZHm2VCTU7bDBoRiJYMyUoNVqsfigvWBdcEA4lswEKE+QcQVCas/22vawxmR+CnrGQwrR5T/LHTqYakiGquwVxNcBsrrTJDm9G60Jzb8Hmhg1vkCv20cY+LbZoqsUXNupRbRbaFNptM4iPp+ksE1efbAd/6V9rMDRT3zG1nlKndxHZEgGv5u/ck7HuC8q2bru6vqmtIi9v1XGJFjngKfWiZhaEV3sY+JHMk1iVLf8uTQ6lg0V+5SNs06RTHCsa/gHHSE3tfdQ2rAILk0ygxxZ5Y7yuHMYguz9qOWVzD24LbOWTQSm7GHFKQU0c0Y+eoUielBbM1aGXJJiXdOVP6WQlaw7ufvqjWDMOHhAaf4JefsIeU3EJcYZA7P5KM+nzkc3QTmpMNducoMir7+U= X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(376002)(39860400002)(396003)(136003)(346002)(46966006)(40470700004)(36840700001)(8676002)(83380400001)(4326008)(5660300002)(7696005)(86362001)(2906002)(26005)(186003)(8936002)(53546011)(6666004)(70206006)(40460700003)(478600001)(36756003)(81166007)(6286002)(55016003)(41300700001)(6916009)(2616005)(966005)(40480700001)(36860700001)(1076003)(426003)(82310400005)(356005)(316002)(82740400003)(47076005)(16526019)(336012)(70586007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:04:39.6929 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a0f03cf-5228-4323-1c48-08da535cb10c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT018.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3424 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/8856e5ecd7f133dcfa6d9e46729073f7dd0e95d5 Thanks. Xueming Li --- >From 8856e5ecd7f133dcfa6d9e46729073f7dd0e95d5 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Thu, 17 Mar 2022 14:25:58 +0530 Subject: [PATCH] crypto/dpaa_sec: fix digest size Cc: Xueming Li [ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ] DPAA crypto driver can support 64 bytes size digest size for SHA512-HMAC. This patch changes the value of macro max supported digest size to 64. Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 368699678b..2af33a8fad 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * - * Copyright 2016-2020 NXP + * Copyright 2016-2022 NXP * */ @@ -208,7 +208,7 @@ struct dpaa_sec_job { struct qm_sg_entry sg[MAX_JOB_SG_ENTRIES]; }; -#define DPAA_MAX_NB_MAX_DIGEST 32 +#define DPAA_MAX_NB_MAX_DIGEST 64 struct dpaa_sec_op_ctx { struct dpaa_sec_job job; struct rte_crypto_op *op; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:49.976324256 +0800 +++ 0015-crypto-dpaa_sec-fix-digest-size.patch 2022-06-21 15:37:48.981117718 +0800 @@ -1 +1 @@ -From 841147ef973b415e8e21b6521e93361001ee2fc1 Mon Sep 17 00:00:00 2001 +From 8856e5ecd7f133dcfa6d9e46729073f7dd0e95d5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 7890687828..b3f2258ead 100644 +index 368699678b..2af33a8fad 100644 @@ -26 +28 @@ -- * Copyright 2016-2021 NXP +- * Copyright 2016-2020 NXP @@ -31 +33 @@ -@@ -231,7 +231,7 @@ struct dpaa_sec_job { +@@ -208,7 +208,7 @@ struct dpaa_sec_job { @@ -39 +41 @@ - union { + struct rte_crypto_op *op;