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 04DE7431D5 for ; Sun, 22 Oct 2023 16:27:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2525402D8; Sun, 22 Oct 2023 16:27:28 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2049.outbound.protection.outlook.com [40.107.94.49]) by mails.dpdk.org (Postfix) with ESMTP id 57C52402C8 for ; Sun, 22 Oct 2023 16:27:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HiUBXuk1B/hXGQzZi3ETofx5xJBiXgosAcZFmTLVkdv0TVsPW+a8AcfEAjK4aIRlbVs0AUK200OAIBFy3/t4H3OqDETP931zRaRS2L006HfpAnjPJm7+ClMKgsNJyWaohUKAPXj2RY6ain8JkWy6ns1CNpxfCSxu3CHgUdwFfyNxS9QKSy7nslxToC4wUCyhnhU+ykUu1fzJBsQjkvSUmaVN1kJwWrnMkdABtfhARFeiFjGopuvFcL7tnD0jL+YLn1urBgarJ+JymWekga28V3419uYAFDNdh2Iie8Y2q6DIghxdPWWwcz/an+/G3JpDDkOhsZ4bi2+jDJ30mtuVsg== 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=P8NZfFooQ+0kHj3+OsaqGgTzwIs83Fz2OodvHcStZy0=; b=l6aauPD439KTbWGrbmC46odEyr+27pIJdgXjUZAcWu0fb4s28CP6Jt5lQLVoH8VOK22OCcsPLrFkiK5++GbMOqjkssUFhie60zr8b64gk04aOiPRy9o4j9XCMVgn/70dHwd33mfs3qNPOR+Jhi1XmDS17RoS9ft/P9uaDzFqI9o4qbgGZw6NAs3XdH6L5AVP7DgEjI5zDy4ULX91kvBxeyeKSW1NsKadlcQGk/oRLFVoMHK5cxzusivhwFS60l9zXAAe+GJvOF5JiaWI7rWelX92wWvWEmT3t0DjMF9J2PN1U9rYZQJzOK4WFz6iKMF3ZjiOzZBS+FH8H1m+IDEzWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.com 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=P8NZfFooQ+0kHj3+OsaqGgTzwIs83Fz2OodvHcStZy0=; b=rSKU+5KyApn5eURs2cgun7HDBS7asloYEx7soAwBCmc8q4IScS07JL55tx1Y9f39fvGZA5sEzlqhdfhfzsFDnx/9Wgqa9yAPyRO5cgGMELRjeGs/IlPKa5zwVpfxcfXsGpXSC/QN8uExxHYXuQlEb/pZiKfeB6tRnaR+5orW5iGPrRtOCyN/PgGD8wIBNFumyLI9fDgVKRurYQ5JtjT8T2Fspd/cNECEFDFNwosF9guR6wubR1E9teBCtQx0CCbJehWrRm4oO9sH2UiqKEtUfbGQdsTmro7NaXsj5ZgVO32TjuERpKVQA6weyapwHmMrGd1akiM6wNDOa63rvWX+jg== Received: from DM6PR01CA0023.prod.exchangelabs.com (2603:10b6:5:296::28) by DS7PR12MB6190.namprd12.prod.outlook.com (2603:10b6:8:99::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Sun, 22 Oct 2023 14:27:22 +0000 Received: from DS1PEPF0001708F.namprd03.prod.outlook.com (2603:10b6:5:296:cafe::23) by DM6PR01CA0023.outlook.office365.com (2603:10b6:5:296::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.31 via Frontend Transport; Sun, 22 Oct 2023 14:27:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF0001708F.mail.protection.outlook.com (10.167.17.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Sun, 22 Oct 2023 14:27:22 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sun, 22 Oct 2023 07:27:13 -0700 Received: from nvidia.com (10.126.231.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.41; Sun, 22 Oct 2023 07:27:11 -0700 From: Xueming Li To: Tejasree Kondoj CC: Anoob Joseph , dpdk stable Subject: patch 'crypto/cnxk: fix IPsec CCM and GCM capabilities' has been queued to stable release 22.11.4 Date: Sun, 22 Oct 2023 22:21:18 +0800 Message-ID: <20231022142250.10324-50-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231022142250.10324-1-xuemingl@nvidia.com> References: <20231022142250.10324-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001708F:EE_|DS7PR12MB6190:EE_ X-MS-Office365-Filtering-Correlation-Id: 57884b2c-0f26-4853-8d2d-08dbd30b0143 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DM7fija6jMyXzUkxYOBHPA+jVpnO9mb0sF+unpXZd/WROcc5YnlrHZvEZh9BLNewhv0GBxVKsGE26/DgpYD25I6/Bjxs/oU+8ZUyrcLlaaXX7sigiDq8O3+DfcUa2U4Q7TYexNRuh0xso6n9qz/u9RIYxJHsHWvXSMUKbxkpuWBWhOg7lHRbZDW0nffg8ax4Sog50PvNCd9uUKHx77ZZ6n2QAMNMZURkfT6VY3krgPi6/0SoC1iY3in0D/0aCYtJoASMTiCRyhtWK0GXUnm9XtMZWbTCHavYsT2P4nHT/LpmnHAGR9eGIyvP6/xAUnD+e1qU0vlux3+vz8zXvQhkpwijpwmQm5wAUtoVITzXIaU9TQjlcgf5zSBM2zaULd2JDzQiEHI8a3leVwmEEH7mKRJ3StXCqOT/4+czKW4nASB3ObLglLafuvYnbK4UsxFf3m6gDlpkhuT5yLzGVZRBIGKUDraaXDVlOU8Rx4gr51DL05Pggr3Q1jrWPhPGo9J+HXYESrWd2qSgTZOSuokDfKFFE5iGBqIViSZLZw2B1qBH/uFHgEySLCIbrLdCVwPt5zXbK/p1FwmY/Mf16sTmKr+6v/+PyY3Yxm7VBd5Olfr6WPVSfAr/ADNNV8cBX8dE/r6rQ18TIPsI5Li/sRRLrHdvaBqgQSh0LfruznyvEwjuS1rqn+Evqy7mwxgJFzbkuJMgvV8tX8PPOO34br/O78ixNqHzu89k8W4qI3NP25GAVNL78lm4sJQNC4H3AmrgXYb+tLriTfW0kIq2t31v8A7afU5O09d3LzZ/ox+pZjc= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(396003)(346002)(39860400002)(136003)(376002)(230922051799003)(1800799009)(451199024)(82310400011)(186009)(64100799003)(36840700001)(40470700004)(46966006)(36860700001)(40480700001)(55016003)(7696005)(5660300002)(336012)(4001150100001)(40460700003)(6286002)(2906002)(36756003)(83380400001)(53546011)(26005)(16526019)(2616005)(426003)(82740400003)(86362001)(47076005)(7636003)(356005)(316002)(478600001)(41300700001)(966005)(6916009)(70206006)(70586007)(1076003)(54906003)(8676002)(8936002)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2023 14:27:22.0331 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57884b2c-0f26-4853-8d2d-08dbd30b0143 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001708F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6190 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 22.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/15/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=39b817dfee51a72c83f15e5cffde8c58e79dd352 Thanks. Xueming Li --- >From 39b817dfee51a72c83f15e5cffde8c58e79dd352 Mon Sep 17 00:00:00 2001 From: Tejasree Kondoj Date: Tue, 26 Sep 2023 11:28:37 +0530 Subject: [PATCH] crypto/cnxk: fix IPsec CCM and GCM capabilities Cc: Xueming Li [ upstream commit e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 ] Fix lookaside IPsec AES-CCM and AES-GCM capabilities. The patch to fix AES-CCM capabilities was applied incorrectly which resulted in wrong AES-GCM capabilities. Fix the same and update AES-CCM to correct values. Fixes: eb581897e580 ("crypto/cnxk: fix IPsec CCM capabilities") Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c index eb4e6ff966..b4d1925d23 100644 --- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c +++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c @@ -851,8 +851,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { .increment = 4 }, .iv_size = { - .min = 12, - .max = 12, + .min = 11, + .max = 11, .increment = 0 } }, } @@ -936,8 +936,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { .increment = 4 }, .iv_size = { - .min = 11, - .max = 11, + .min = 12, + .max = 12, .increment = 0 } }, } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-22 22:17:36.250450500 +0800 +++ 0049-crypto-cnxk-fix-IPsec-CCM-and-GCM-capabilities.patch 2023-10-22 22:17:34.266723700 +0800 @@ -1 +1 @@ -From e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 Mon Sep 17 00:00:00 2001 +From 39b817dfee51a72c83f15e5cffde8c58e79dd352 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index 4c6357353e..ac4a8c1572 100644 +index eb4e6ff966..b4d1925d23 100644 @@ -24 +26 @@ -@@ -1180,8 +1180,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { +@@ -851,8 +851,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { @@ -28,4 +30,4 @@ -- .min = 11, -- .max = 11, -+ .min = 12, -+ .max = 12, +- .min = 12, +- .max = 12, ++ .min = 11, ++ .max = 11, @@ -35 +37 @@ -@@ -1210,8 +1210,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { +@@ -936,8 +936,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { @@ -39,4 +41,4 @@ -- .min = 12, -- .max = 12, -+ .min = 11, -+ .max = 11, +- .min = 11, +- .max = 11, ++ .min = 12, ++ .max = 12,