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 8A04E45E41 for ; Sat, 7 Dec 2024 09:09:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80F1C40281; Sat, 7 Dec 2024 09:09:57 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2071.outbound.protection.outlook.com [40.107.92.71]) by mails.dpdk.org (Postfix) with ESMTP id A8F8140281 for ; Sat, 7 Dec 2024 09:09:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lgrwaEhpCV9at0HbJA2p2+F9RjINit2FRXzWnaUvn2o15JW4dxCFBS47ziwz3DsJqeunFKYkikVo7m/OaFY2qZZz2LcrAeat8G4qDXiWeSzsL19ROojcDBT2MEEJPnVh4SO+H1sTkfszfUw7E9crwFfG5GO+wnH6OgsxcKdOvtJfODMMZGmYrAPmzY7aBPbFJqji2mfxOE0nu/i/LqT/VlibJIO2EIjrkq4G/hlw85PxkwxP1IyoiJ5fbOvCO1Y0uQj6YUEYxKyipiW5ytwmR23ZcBH9vN5JYd2wnBnu/Yev2U9ySiAlSJGjwhzbuUiqfFwKiyZV7zJfQCPPNbQDNA== 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=XKvYDnWpA/G7CC2DlpU6O0QNXVz71dFaaDffL8/cD7c=; b=XiNBhgAc7ajpo+hzGIveJasvqn7LtY8Tdk/pZoctpjMK/KsUwTw0pxPSqVgCGrw6hE8Hr4NX5LaHqSn73JEa55bx88XbAMFkmU2EUQSKluO9gvXB/s66IahVq/2ZlwFKxHVaHxyPIrpn0AfhecdyfAxxiHgQVKExIWrP8KO4hDmmueLiuIWyyIp5pQq5ndwTJNcNwEthoC8032tPnTIGAW0GxLxz/IIf9G75guuWHIoqKyIo0JNG0Z0ZWIJAAh9f5B3IMcZN9heXoIOuEwVjaTamHq/S72VEWyaWdkH75O6posFDg/QDVXUsbVwuEwdzLaepqc/brmoftTlU+ZlrFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=networkplumber.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 (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=XKvYDnWpA/G7CC2DlpU6O0QNXVz71dFaaDffL8/cD7c=; b=N2O5V5LTmkpo+myMSqkI/Qc7Xz5mkPRT2Cd0V/LDP3qXZKpyyvgE7kRElSd1QkV4VayGSCO6Tffu7d8hx+04x97S+Tg7TPs6u+x/OCZcyHBdpgJeDXKigijA7PaMFhFGHrPLE+cDV22qCC93iYv+3GZPSxjHn0g6htXZGoxby67OCov+MDMPtgkgLu59mRGHY9yG9LgDuynQfcjGap+6frhwEe0218f2S9urzz1zmY+TwfF//FRG2mD+ugWWU7Ltg1xIikd69VRnCA3YjNObVohn7xDd3jD8hCCFNdQvgDYkQJuQNd50oYR6ErvvypfLDqn4yCDk8ph77fT0dIPK/A== Received: from BN9PR03CA0286.namprd03.prod.outlook.com (2603:10b6:408:f5::21) by MN0PR12MB5737.namprd12.prod.outlook.com (2603:10b6:208:370::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Sat, 7 Dec 2024 08:09:52 +0000 Received: from BL02EPF00021F6C.namprd02.prod.outlook.com (2603:10b6:408:f5:cafe::2b) by BN9PR03CA0286.outlook.office365.com (2603:10b6:408:f5::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8182.16 via Frontend Transport; Sat, 7 Dec 2024 08:09:52 +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.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:09:51 +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.1544.4; Sat, 7 Dec 2024 00:09:49 -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; Sat, 7 Dec 2024 00:09:47 -0800 From: Xueming Li To: Stephen Hemminger CC: Xueming Li , Bruce Richardson , Aaron Conole , dpdk stable Subject: patch 'test/eal: fix lcore check' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 16:00:51 +0800 Message-ID: <20241207080055.488538-94-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-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_|MN0PR12MB5737:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f1b9b6a-fbcd-4885-a544-08dd169686e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|36860700013|1800799024|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?/68lX8RWrhlWOK7u1vqoT/q/5o0hTOdmJFj6afAZLU8aOyK0aHQcCJJoZFSK?= =?us-ascii?Q?6f3aX7aBXfwhMWgusfn+Tun8yiiTyH3bepxPdytI0PSHaEACkut4lxfMwWSA?= =?us-ascii?Q?NLj/SNigWapp2xJI+BWyom8oiRtS977VShAlb+FfMI6tN0RuRrk/9apC35/5?= =?us-ascii?Q?vrf+1lp5U31/6aKf7vwMwnrmbohCESK6euL++wRziXJLtU8CaKBX21zpi0Q+?= =?us-ascii?Q?FSe+bwEtTyslqwPelF/+HKmEcd4Y/LwJRDKbbKVqTS6AcIo83+YmKx+9zeU3?= =?us-ascii?Q?gr30OTgmVgKK3hN+XlOK8bqkTqNTvv50DcJojwtCqnKOR6N4EYB/e49n4gMj?= =?us-ascii?Q?Qv+LtpHuLW/W44WB/0Rx8uW0njMrZdjmUETSxOSPIN22/nex6qPy2quel+/U?= =?us-ascii?Q?T9PRwje+eJrKRvo8PcYJMYDKJukvrgDyeERBJpP2ZiDlbEBNW1eHxYDgC67n?= =?us-ascii?Q?Lu8goXcFQMiJwm1TF7DtPsWrypYdIPpCGyuvL57+hB6n4nT97RDO+J2vHgGn?= =?us-ascii?Q?43ngk9Bl1vAyqK0lV/EoByryyv5y1osKHbRSVWxFWF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jlzW8Ovs?= 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:(13230040)(376014)(82310400026)(36860700013)(1800799024)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:09:51.8484 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f1b9b6a-fbcd-4885-a544-08dd169686e4 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: MN0PR12MB5737 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 12/10/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=e5eb4aee76752662d9af909ddc0a991ae3ae5235 Thanks. Xueming Li --- >From e5eb4aee76752662d9af909ddc0a991ae3ae5235 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 21 Nov 2024 10:23:28 -0800 Subject: [PATCH] test/eal: fix lcore check Cc: Xueming Li [ upstream commit 357f915ef5e1280d921fb103ea33066e7a888ed2 ] The expression for checking which lcore is enabled for 0-7 was wrong (missing case for 6). Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: b0209034f2bb ("test/eal: check number of cores before running subtests") Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson Acked-by: Aaron Conole --- app/test/test_eal_flags.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index 6cb4b06757..767cf1481c 100644 --- a/app/test/test_eal_flags.c +++ b/app/test/test_eal_flags.c @@ -677,8 +677,8 @@ test_missing_c_flag(void) if (rte_lcore_is_enabled(0) && rte_lcore_is_enabled(1) && rte_lcore_is_enabled(2) && rte_lcore_is_enabled(3) && - rte_lcore_is_enabled(3) && rte_lcore_is_enabled(5) && - rte_lcore_is_enabled(4) && rte_lcore_is_enabled(7) && + rte_lcore_is_enabled(4) && rte_lcore_is_enabled(5) && + rte_lcore_is_enabled(6) && rte_lcore_is_enabled(7) && launch_proc(argv29) != 0) { printf("Error - " "process did not run ok with valid corelist value\n"); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:47.147901508 +0800 +++ 0093-test-eal-fix-lcore-check.patch 2024-12-06 23:26:44.113044826 +0800 @@ -1 +1 @@ -From 357f915ef5e1280d921fb103ea33066e7a888ed2 Mon Sep 17 00:00:00 2001 +From e5eb4aee76752662d9af909ddc0a991ae3ae5235 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 357f915ef5e1280d921fb103ea33066e7a888ed2 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index d37d6b8627..e32f83d3c8 100644 +index 6cb4b06757..767cf1481c 100644