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 9388A45CE3 for ; Mon, 11 Nov 2024 07:30:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BAB640E0C; Mon, 11 Nov 2024 07:30:33 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2087.outbound.protection.outlook.com [40.107.243.87]) by mails.dpdk.org (Postfix) with ESMTP id 6AC794067A for ; Mon, 11 Nov 2024 07:30:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RBahVe8rM1IbCw1PHtov76MJWzzv+NKPHCurISc5TtnpWpBVXV40HO2sYUiByYuhkP3eOAha6CscQs5SH8vXsMLTjgQGiM6y5ByaKl35LhO6hw3fOCFcryfnXhai3YyeuqOOtrr/La0RJM68aGqkPJpSmgcTL9rW9STfvHM+qxYhCwGk/4RJHpZuL7myp36DvWOMKwomn14HBay1YE96oz3YcbTCtlNzkSMo1DugJu1bgH51dYB2W4QgL9H9nytuWs/7bcqclSbJo0jLvRwYlW1Tw1kYWc0XUyQDqlWOoyX7S5z0+5TZNxIjP0lesCyZJtBUmsvIYgw+6bAnsRzTfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=MQ0vpKzi89vgjwigAycareLn364ACejYMxpl9mjGITw=; b=ovfUvuo84B4mNDkKnPELr4EReGToj4EQWMF4HX2Jnpt/wXSP45xBymw4Pv6rHB0ZCNZRh4Ugxa7xsdmfCE7tNu1ZgXApzpKnKSvhYKE8FGLeMFiEfP2vvQ6ZCZu4rx0LQN0s8UchqHdNnkCAz5XFCI66+EYnugz+zic+aAGXW1OVpUW4+WfXKqA8gkfczjap7rRA8kmCml3gbUZn+BxBC5hnrPGJ06FRQt7WlVmZZ1i5CAK4yDh7a1nf6yGw0OKPm0/Kn3ur0ql2a6faq8u2MyhMkRZ1qyYu30fxuUBOL7j0NapoUtT4N5b22YIIXkNIFScxFb0h5FquA6M7HU1NMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=gmail.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=MQ0vpKzi89vgjwigAycareLn364ACejYMxpl9mjGITw=; b=oMQup7TZuPTIJdMksyomHJ2sNYQ9K33fMlvb691zBJrMUvEs80BJn33rouVW0braL14p7QbAtZq6UXbdTyX7OtohnV6+MceAcUwdWqVCuybfdFjw8iFzoyaXGz5w06cntQMAMNI4q/mJNDpMeM9z15mq2KtHxeS6alZ2/PnFzyvvNnXZk/JZHbZsnHuYq+mVsqwwGNw0eI5ucmwtq2re9XLr44oX/NHXMtgKfeEtwgLuJox3j1lV+luPuVbfK5aImTxNdKQfSYFbvFlcb3+3ZiDtdl8m1Q0chpEKBDIl4bgenIJEgEFtMdIbK5WtPqM0v/JZCIsYmkOfhHrNZU7nhA== Received: from BLAPR03CA0014.namprd03.prod.outlook.com (2603:10b6:208:32b::19) by PH0PR12MB7930.namprd12.prod.outlook.com (2603:10b6:510:283::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Mon, 11 Nov 2024 06:30:28 +0000 Received: from BN2PEPF000055E1.namprd21.prod.outlook.com (2603:10b6:208:32b:cafe::dc) by BLAPR03CA0014.outlook.office365.com (2603:10b6:208:32b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27 via Frontend Transport; Mon, 11 Nov 2024 06:30:28 +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 BN2PEPF000055E1.mail.protection.outlook.com (10.167.245.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.1 via Frontend Transport; Mon, 11 Nov 2024 06:30:28 +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.1544.4; Sun, 10 Nov 2024 22:30:13 -0800 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.1544.4; Sun, 10 Nov 2024 22:30:10 -0800 From: Xueming Li To: Julien Hascoet CC: , Kai Ji , dpdk stable Subject: patch 'crypto/scheduler: fix session size computation' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:26:57 +0800 Message-ID: <20241111062847.216344-12-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.231.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-TrafficTypeDiagnostic: BN2PEPF000055E1:EE_|PH0PR12MB7930:EE_ X-MS-Office365-Filtering-Correlation-Id: 8af6acb0-cc45-4020-bd23-08dd021a5583 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dmtuc3Q0c25PUFBhMXhZRlpoTnZub0VRWThSWG9HK0x4RzZ4MGVJSEMwRTNR?= =?utf-8?B?RnJ2T2dPS1NtK2Q5K3lLRElnQXlZcDE2c1o4SG1BUjgrRmhjQ3o3ZUVuY2do?= =?utf-8?B?WGpMR2diRlZGM3lYeWZKdHhHaXBxV0JvQ3NKNzZxdk1vT2JTNTBXbkp2Qzh4?= =?utf-8?B?VC9zWGhNZWhmQjJEL1ZWVExNR3JJQ291Q3NCekI3R2FOcVNrYzVUWmZqc2VQ?= =?utf-8?B?SEhKUmlxUHRra1I0b3JTRTlMRmlJNE96TURpMUJKTmlqdHYvY2pSOVB3MnVv?= =?utf-8?B?cXRXdzZhMzJTc3Z1SEJ2RmlURlFXSHZsajRGQ0VMU0xqbDQ2cWtkWXdNNy9V?= =?utf-8?B?aXdNcU9WSUo4a0RBTXptMVJxUTczdTNydzlYeXhHRXlZdHhHTTF4eXFya2tO?= =?utf-8?B?b1NoYkM1R3dUWjFzY1ArMTdKVVp5b2M2Z2ZvVjN6ajVRUXFxR3czRWtvT0cv?= =?utf-8?B?cnd4STcyS2NPaWVURmozL2Y3bEZCMTM1VW43ZDU5MFhlSmxQT0YxeEVZMHov?= =?utf-8?B?VnlrNzQ0aG9jSXNKcVN0ZEJoT0ZUQ2czb3JsUmlMbkNydmZ0Uy83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04rMndteThZaUVlSnhSdm02NEFR?= =?utf-8?B?Y1NLUjNmRS9aUEhjdDhKTnI0YUpzU3NNOGhwd0ppWTUwTGZDYm5JQnhpVVdU?= =?utf-8?B?SUl1ME53SEFGcVlpUWJ0cTROZ0wvQmV0NThnWmtnVDNlWTc3Rzg3NVo2TG9z?= =?utf-8?B?dC82K3F6S2ZDbFFvK0Q0L1pEN2tTSTcyd0xvV1VaQTJRa0ZqN1BLYVF4SU16?= =?utf-8?B?dEkxRWRObGtFYzhwOEZJVU5kM0Z0QldkYWQ3bG1EZHJlMEk3TkRlbVlGYjRp?= =?utf-8?B?dVkzT05ZM0xQS2ZTWmptZmo1S1ZrYlZCaVVBNEU0clVuYXdaM1laMmZnZ2dB?= =?utf-8?B?cW9yS0g1NFhrZWg0U2VwZCtRNFFyK1pGbk9QWlJvT2ZuUXJtWCs2a29lTDdO?= =?utf-8?B?ajVpT0hqeWc4RHpQS2NnVnJ4bkg1YkFkL21qUVcxNkJab1E9PQ==?= 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:(13230040)(36860700013)(82310400026)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:30:28.1549 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8af6acb0-cc45-4020-bd23-08dd021a5583 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: BN2PEPF000055E1.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7930 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.3 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/30/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=a082f249748fac379ce9e996ba8bf9a555b89a10 Thanks. Xueming Li --- >From a082f249748fac379ce9e996ba8bf9a555b89a10 Mon Sep 17 00:00:00 2001 From: Julien Hascoet Date: Fri, 5 Jul 2024 14:57:56 +0200 Subject: [PATCH] crypto/scheduler: fix session size computation Cc: Xueming Li [ upstream commit b00bf84f0d3eb4c6a2944c918f697dc17cb3fce5 ] The crypto scheduler session size computation was taking into account only the worker session sizes and not its own. Fixes: e2af4e403c15 ("crypto/scheduler: support DOCSIS security protocol") Signed-off-by: Julien Hascoet Acked-by: Kai Ji --- .mailmap | 1 + drivers/crypto/scheduler/scheduler_pmd_ops.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index 4b8a131d55..8b9e849d05 100644 --- a/.mailmap +++ b/.mailmap @@ -711,6 +711,7 @@ Julien Aube Julien Castets Julien Courtat Julien Cretin +Julien Hascoet Julien Massonneau Julien Meunier JĂșlius Milan diff --git a/drivers/crypto/scheduler/scheduler_pmd_ops.c b/drivers/crypto/scheduler/scheduler_pmd_ops.c index a18f7a08b0..6e43438469 100644 --- a/drivers/crypto/scheduler/scheduler_pmd_ops.c +++ b/drivers/crypto/scheduler/scheduler_pmd_ops.c @@ -185,7 +185,7 @@ scheduler_session_size_get(struct scheduler_ctx *sched_ctx, uint8_t session_type) { uint8_t i = 0; - uint32_t max_priv_sess_size = 0; + uint32_t max_priv_sess_size = sizeof(struct scheduler_session_ctx); /* Check what is the maximum private session size for all workers */ for (i = 0; i < sched_ctx->nb_workers; i++) { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:05.999628822 +0800 +++ 0011-crypto-scheduler-fix-session-size-computation.patch 2024-11-11 14:23:05.022192842 +0800 @@ -1 +1 @@ -From b00bf84f0d3eb4c6a2944c918f697dc17cb3fce5 Mon Sep 17 00:00:00 2001 +From a082f249748fac379ce9e996ba8bf9a555b89a10 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b00bf84f0d3eb4c6a2944c918f697dc17cb3fce5 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 8004772125..15d9b61029 100644 +index 4b8a131d55..8b9e849d05 100644 @@ -23 +25 @@ -@@ -734,6 +734,7 @@ Julien Aube +@@ -711,6 +711,7 @@ Julien Aube