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 BE5DBA034F for ; Wed, 10 Nov 2021 07:57:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B886040142; Wed, 10 Nov 2021 07:57:44 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2083.outbound.protection.outlook.com [40.107.96.83]) by mails.dpdk.org (Postfix) with ESMTP id 694B140142 for ; Wed, 10 Nov 2021 07:57:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T2h2tFyEoUxg34egbRdHS7NfUNq4kCvVURNplH4lcGzbSm4XwNpX/8f5TXVneH1g39ztHYlwTWACttK/FgFyVXDcat1PyxZxMO39eL51BIcNhuq/fD4mpLDVZ6eDnpzCojOsREKUiLZEtRKND/ofbYuXkVk8KLz5lc8CEhL7Giti0SUyGYvLDPPDw5cP3QfkdX8LjHt/hrZQrgjbDOZmhCHXgNPEzIrscdQSYhAjV6Jl/XV8OPl4uiX4qLogNz54T9sfG/qgsBo0/fHlLl2BGvEdEkPoAjgagnCBQYUgs7VHToYHV/IH3vWgWdeOBFA/8qCwoGuFo6rZW+4qoD2w0g== 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=NNXbKmlLyufeTUiIPHvfrJKKdgb5+21VXHAWScqha8M=; b=OefYnvv0Ae2WuEtCqWhZe5GA0Gs7b8PkahmwGI8yBYY17+Wu23LBLMHS8jg0iqYmJHx9fi17UMIHIPjqixqGPLDccNLVtbLRZPLdcT5iU2Qy8k8iU2Eoyl/qaIfXtUkPGKPi56dawPR8ILLlB3Njk5rtAwTyWMqSpitWSRzfRAWHy6iVd1wMlVAxNDc/vSIXPMFPO2A86ku0Yk1OwkHnrRFZQbuc6JGkskfL/zI0+eVzHJIchDcUSa845bai/oF+eHRlBiGNWNGhCo9DjamtM3gYvjVTyebZy9jKV+GZ9MHJ7UvqXTmlGZ8QtiBQgzy7x/4nvvjFUgx4LU73/1H+KA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=NNXbKmlLyufeTUiIPHvfrJKKdgb5+21VXHAWScqha8M=; b=gPm6LKdB17XccTugeC8O1dDIJly8cRMxjK9bvmuAFrHC9qm7KT9rC6f5o4ACxxZgSsJkZIiotdPwBBOHruSrAijF3tnKvUjrhMIMXhk3tDpTXTMNWfBoPVMQIbtsDNmo/sLb4HZJ2hp4ATD1SaytKVWTlXc6jBcEGSv/NnSjYYhHGxuCNQUIxD23Z7eiJM3VSalPmTzPG5toRPbn3Pfv+cFNOYuyetl2uCkskVGIV9O4Yy9eDf/gSHo+U23d3ygl5SMOR0gpdPahaZt+KrJO99pe9PAjdwAlUvRbUZ73C5ttr0oszOtE077o17DdKbESIe5fRXr6Kmvx56f2pek53g== Received: from DM5PR07CA0102.namprd07.prod.outlook.com (2603:10b6:4:ae::31) by DM6PR12MB3129.namprd12.prod.outlook.com (2603:10b6:5:3b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.18; Wed, 10 Nov 2021 06:57:41 +0000 Received: from DM6NAM11FT051.eop-nam11.prod.protection.outlook.com (2603:10b6:4:ae:cafe::d6) by DM5PR07CA0102.outlook.office365.com (2603:10b6:4:ae::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:57:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT051.mail.protection.outlook.com (10.13.172.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:57:41 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:57:34 +0000 From: Xueming Li To: Arek Kusztal CC: Luca Boccassi , Fan Zhang , dpdk stable Date: Wed, 10 Nov 2021 14:31:53 +0800 Message-ID: <20211110063216.2744012-230-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9cfe1420-6412-4ac1-b3ee-08d9a417639e X-MS-TrafficTypeDiagnostic: DM6PR12MB3129: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CGYTDVOWQzaB0Lcq7mAMWmozrLhQU7BSY7KpoiEa5V4ctm4J7+yQlMFKI4aIrBSSD5qL+6QgUnj4tqFjWHlGcjzP6gB/ofv0rrGsHWauYb3YysDNk7Vao+dfkiSBfpznawozrOo18ockSpWS9foTaroPJDQLtnidoC70yf3nPziq3OeU8YwakibTvXc2d1MCCg06VpA12vZbN0pt6iYPJXPQk1YYWLpnqgv8Sg2I4F6i4dSBG90uUQIH24jiZ85QPWUfUeD39bEIwgWRzZ0uqxCHnOnx+9atxw4jQTajnKnhk/3rySYOP7QHnuaYzOjqX6c8rUgOkecqHg4S3JpMzljJ51QgcLPbO/ySbEhxLf1b/kYIVcKEOm6ADXspjJBlA+ep5TVUDvveAlOrakxx0iMQWWKdA4JwL8hC+tz4YSB1p4tywiQZUmPqilJEVDDjkZ/MOOVXy4md7600nWfceEX+si4uLV3YQkhdsxrhpF3hshaadi8NQsyICQp56aFDF5Y0VRDsA9us7L+4w03r1XeBXEEJ+Jb6GxxoS23P7FpFs112kR5yhKVa2pyUTvR74tWwic9sNsdTgRUzZydybzzSkLsCFtO0yyFAafCE+KdylQkO5Jdmlo9dmU1yOTEHLQYIjO/EkrMcOvWRkUKIkILghqqOJi+kkiJAJgsip4QzZLRtlozce1xTs+liIy5MXS72CgZFsB00ypi6h88tj5+sE9bXxlBaQa+RrhaPGokkCE2FdxOpdFwgQwRNmNvDXpWuLZ2ByO/KzE137NWKTewpC1nPVzyKlF71VWdu3O/wYvsMPRwKB86LmMPL1Row42lysV4IvjeZ5SCtKLwNLA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(86362001)(8936002)(7696005)(8676002)(1076003)(508600001)(966005)(6916009)(5660300002)(70586007)(26005)(2616005)(2906002)(6286002)(36756003)(6666004)(53546011)(4326008)(55016002)(356005)(336012)(7636003)(70206006)(36860700001)(316002)(47076005)(54906003)(16526019)(186003)(4001150100001)(426003)(82310400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:57:41.1094 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9cfe1420-6412-4ac1-b3ee-08d9a417639e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT051.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3129 Subject: [dpdk-stable] patch 'crypto/qat: fix status in RSA decryption' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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/12/21. 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/d87c1f105f03c7f584915b451a59ad4c2c91a270 Thanks. Xueming Li --- >From d87c1f105f03c7f584915b451a59ad4c2c91a270 Mon Sep 17 00:00:00 2001 From: Arek Kusztal Date: Thu, 21 Oct 2021 11:05:43 +0100 Subject: [PATCH] crypto/qat: fix status in RSA decryption Cc: Xueming Li [ upstream commit 0a9e63940337f9de9d07080b63160b5e89ea1425 ] This commit fixes not set crypto op status when decrypting with RSA algorithm. Fixes: e2c5f4ea994c ("crypto/qat: support RSA in asym") Signed-off-by: Arek Kusztal Acked-by: Fan Zhang --- drivers/crypto/qat/qat_asym.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c index 85973812a8..983c639d68 100644 --- a/drivers/crypto/qat/qat_asym.c +++ b/drivers/crypto/qat/qat_asym.c @@ -629,6 +629,8 @@ static void qat_asym_collect_response(struct rte_crypto_op *rx_op, rte_memcpy(rsa_result, cookie->output_array[0], alg_size_in_bytes); + rx_op->status = + RTE_CRYPTO_OP_STATUS_SUCCESS; break; default: QAT_LOG(ERR, "Padding not supported"); -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:12.005898549 +0800 +++ 0229-crypto-qat-fix-status-in-RSA-decryption.patch 2021-11-10 14:17:02.060744536 +0800 @@ -1 +1 @@ -From 0a9e63940337f9de9d07080b63160b5e89ea1425 Mon Sep 17 00:00:00 2001 +From d87c1f105f03c7f584915b451a59ad4c2c91a270 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 0a9e63940337f9de9d07080b63160b5e89ea1425 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org