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 9350243E57 for ; Sat, 13 Apr 2024 14:51:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E57540684; Sat, 13 Apr 2024 14:51:40 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2046.outbound.protection.outlook.com [40.107.94.46]) by mails.dpdk.org (Postfix) with ESMTP id C39B7400D6 for ; Sat, 13 Apr 2024 14:51:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=in+nU+KhexmVj7xP/jSxZPM166VG0ubZSmRwSupJnUon1KFrAyevIolENlZH8uSalXJiL6TUWoAkKcXBXiVNZ/GLkQJNhLWPLm54Mjlwr/U4LVOh++fhnrZM2oPNCK0SvWo9HCirnxCYHnHF32ahrSwOcufAobHJkuo+7Fy6WO3N5KXmj1izTTeUfNmvENai27UZ+BGsj8BUE+jJmS8MwfWU9aLCXCoawvB8SOAnOIdkT+HY+2qW4Y6Qy13q+4omRYlhQf9tttlcYYojGZmnQc6lcYhMBOiyviCxJlzwjDYiD1hDbuHJLqgKTmne4EjtNCx1S2aJGsm9h/UaB1TjHw== 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=pk5YJRgWCAde+upeGdqrnx2FiJzJ43zRonf7I5NuKN8=; b=SEr9Xhtuq7vz7H4McKz8SoGB8LuSaqmPbRnneVNLvOuvOfIpF3KNV+a6JuNc7Qbh3YcAnHUUJSxraAKBl6AMsJJFx7TpTBJBxDJMlUMHULLwp7a602EbYF9P5jEL1cGrYiSZGgTKziRT92djqUqJy+SKLnYAdozXN8ECBcduhlky2AVgXnjUVkuiSqY/rvWGJijHho3kWrKiVEu2ViU8NlgqbbIE0lgRqLDgxit8Lz6gFoNrkJMmFukmoAqqqy1t60ddOpUwKLKUgM82wUh12IQv4rim84A4WDW5g+EQzXjxMdvDMKxEsq12UylkPYrYiu1p1XSFKJ9nGY5IgaDoCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.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 (0) 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=pk5YJRgWCAde+upeGdqrnx2FiJzJ43zRonf7I5NuKN8=; b=PmWZeBf2RNRnWw6uMxlXs6sTS4Yj/6zBcH+jC/AWJ0ogkPu1k6s3s94LCCV8wL/vSoTg13Oqt4uiNzm23J1AGAQkDPmA6bY94GjkPZ/3Uin3/KWXgMcnuMGWYIAR4rVXwxrOTjfWP/v223MUB8MoPdOxqPu7K/0AQQroSN3CMfb9Gfw7egrC3ZmFOxL3/Gyy/kJNwqFEQJfoE69O4PxBlsiqnbH6NQjb8QFB6U6Z7tCvEsFv3SEJx/XKMeEf89HYNBkIK0VZu1K1AASPP7mLKW5RGXCvJT4LcB98HxYhqFEeMLZad06fAA9rB7/9yU1YEamNY5u56JG0SpBOvYx9pQ== Received: from BL0PR0102CA0026.prod.exchangelabs.com (2603:10b6:207:18::39) by MN0PR12MB6077.namprd12.prod.outlook.com (2603:10b6:208:3cb::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.43; Sat, 13 Apr 2024 12:51:34 +0000 Received: from BL02EPF00021F6C.namprd02.prod.outlook.com (2603:10b6:207:18:cafe::55) by BL0PR0102CA0026.outlook.office365.com (2603:10b6:207:18::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.31 via Frontend Transport; Sat, 13 Apr 2024 12:51:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BL02EPF00021F6C.mail.protection.outlook.com (10.167.249.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:51:33 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sat, 13 Apr 2024 05:51:23 -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.1258.12; Sat, 13 Apr 2024 05:51:22 -0700 From: Xueming Li To: Arkadiusz Kusztal CC: Brian Dooley , dpdk stable Subject: patch 'common/qat: fix legacy flag' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:12 +0800 Message-ID: <20240413125005.725659-12-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-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: BL02EPF00021F6C:EE_|MN0PR12MB6077:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c95c6ff-b79a-4157-7592-08dc5bb872ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GcRP4W8grWobVrdNu3IkNlgy6PiahvVSiOXh+iiQ7TzNqW80RiIjJFbHn2ZnLW2VpnXaudXDK+/NOimQBdVSXqDg1NsIc0tRbLGvPyuogVvu1kB4JAXNVHpTmFmdfgVhucj/r6xsFZjh2VYpERjyO+v0PZRj35cZDeU0AelJZnNvr+ApGuJQTAR6W8Cc5AejvyNlB8KCMRIDHbPBR+9B1vHm8JxBAVxxdA1rw9shoDShcd3okOhWBNcVPjFzfgPSuicC01rE+uKJ8gk1BiMyWl/OrPC+H57R1H4dkmas16Na7PbK3fClxPuiCIaGfpEPrvM14Z6enOEE1gElSg+e4owyfTpKfjeYUd5AJH5RO1PDEni50QcTgHjskAuAaMJCtMile+C/DrAI+Xk4NmhFPee0cy7gDIlvaiU7CO6DphvR1qafJidA7qcXOoswi1toRz7MRmVNjZYRyX/KpPvRJc8y0ALHpe1Iv7YKIIV+QoMO+QHdtifdHu31X//KriWCjIXVWus2IJUNDaUJ6kXa0vaE5VNjItw5ca4CGnPt4Na7SBi/CQCxdMrOfz5CE/vNA0P8AaJMmlwG+KaR6Pi1jfiA8UD7IZXSa0QtzPkde15lqSlKQmm7PkewVuO4N6SUp6ebsBjERAQr2kccmUTFASa8MpXcv7ngyZfm7Mr2+K5n1Srm/g1GshMGcE9UwlE868q95b/d82tCx/TrApILGa+FSRX11L03/22/xJ8vN3UfF6mxPLxtRZi+XutHJK9C X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400014)(36860700004)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:51:33.8142 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5c95c6ff-b79a-4157-7592-08dc5bb872ef 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F6C.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6077 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 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/24. 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=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=af414b892d61870494e57aba0b9147ecec03c3d1 Thanks. Xueming Li --- >From af414b892d61870494e57aba0b9147ecec03c3d1 Mon Sep 17 00:00:00 2001 From: Arkadiusz Kusztal Date: Fri, 1 Mar 2024 15:52:51 +0000 Subject: [PATCH] common/qat: fix legacy flag Cc: Xueming Li [ upstream commit 8191276fc5c10d55df72fd3bb80f97409b620318 ] This commit fixes a legacy flag, which was placed in a file that may not be included in a building process. Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms") Signed-off-by: Arkadiusz Kusztal Acked-by: Brian Dooley --- drivers/common/qat/qat_device.c | 1 + drivers/crypto/qat/qat_sym.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c index f55dc3c6f0..eceb5c89c4 100644 --- a/drivers/common/qat/qat_device.c +++ b/drivers/common/qat/qat_device.c @@ -29,6 +29,7 @@ struct qat_dev_hw_spec_funcs *qat_dev_hw_spec[QAT_N_GENS]; /* per-process array of device data */ struct qat_device_info qat_pci_devs[RTE_PMD_QAT_MAX_PCI_DEVICES]; static int qat_nb_pci_devices; +int qat_legacy_capa; /* * The set of PCI devices this driver supports diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index 6e03bde841..4fa539769b 100644 --- a/drivers/crypto/qat/qat_sym.c +++ b/drivers/crypto/qat/qat_sym.c @@ -18,7 +18,6 @@ #include "qat_qp.h" uint8_t qat_sym_driver_id; -int qat_legacy_capa; struct qat_crypto_gen_dev_ops qat_sym_gen_dev_ops[QAT_N_GENS]; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.526426641 +0800 +++ 0012-common-qat-fix-legacy-flag.patch 2024-04-13 20:43:04.907754049 +0800 @@ -1 +1 @@ -From 8191276fc5c10d55df72fd3bb80f97409b620318 Mon Sep 17 00:00:00 2001 +From af414b892d61870494e57aba0b9147ecec03c3d1 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 8191276fc5c10d55df72fd3bb80f97409b620318 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index a27252ea4d..500ca0f308 100644 +index f55dc3c6f0..eceb5c89c4 100644 @@ -23 +25 @@ -@@ -31,6 +31,7 @@ struct qat_service qat_service[QAT_MAX_SERVICES]; +@@ -29,6 +29,7 @@ struct qat_dev_hw_spec_funcs *qat_dev_hw_spec[QAT_N_GENS]; @@ -32 +34 @@ -index efca8f3ba1..6c7b1724ef 100644 +index 6e03bde841..4fa539769b 100644 @@ -35 +37 @@ -@@ -19,7 +19,6 @@ +@@ -18,7 +18,6 @@ @@ -41,2 +43,2 @@ - #define SYM_ENQ_THRESHOLD_NAME "qat_sym_enq_threshold" - #define SYM_CIPHER_CRC_ENABLE_NAME "qat_sym_cipher_crc_enable" + struct qat_crypto_gen_dev_ops qat_sym_gen_dev_ops[QAT_N_GENS]; +