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 D6A8B45D31 for ; Wed, 27 Nov 2024 01:54:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCB9A42D2B; Wed, 27 Nov 2024 01:54:48 +0100 (CET) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id 12333427DC for ; Wed, 27 Nov 2024 01:54:47 +0100 (CET) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4349fd77b33so22762065e9.2 for ; Tue, 26 Nov 2024 16:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732668887; x=1733273687; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o8/Y89hl7NCd/9Q/HPaRtHQ8fM8/8dqB3wsmPK+/+j4=; b=YQVJ/7tqwWCaaTwV+ycuhDZt4hZ1FVPwgc21Qsno5PZ4Wmh548IUHxgSdsZBRhK4lR EE8yJ9XFOmg0nSQM8OpDYzh8Q0+XamdK6OALBcZ9kiCycoyXQ8Rlv4pJanuOC1fXbeF7 3C0v+5Y04RfJo0TeuH7wInXsThcoT8CtLJWKSLf2eUehImY4N8huw4f3B60tQ46vQgbO aHiywPAQ+2Ag3VzBXtClHVV30Kn326pbjW3EyyDpaXE5ijYIZ3wiVQiaQdPUnLNlFzfg 5f4SAgFx1TPqD36ixALFeJtQ9zoeZBYYNCMRipLK+5/J03u75txKbruwu6Al8hcSIhKJ mg+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732668887; x=1733273687; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o8/Y89hl7NCd/9Q/HPaRtHQ8fM8/8dqB3wsmPK+/+j4=; b=CalrUHbB/WYSSs9I7vQ6rOwQyp/j4+OC5S7U9f8FXeH20FrIZQyefaIcknQ6WcFFBZ Vs1UC5BL6TUmKKUoRzWq5u06Yw61fjd4+131T0kf6TU3PuCiKUj5oZtbcfKC4B+QLlR6 Avk5F9M2ioGt5BHSaBOB1oxeCP4YAUiseGvjA5mCNx0T236CySIrNvceLmsM3B1xnl5i KDuBgmn87rJT+NPWvB5csbdLdBcos5xWXvyUQvKLYtyWUNycgaMu2kTqn7m3QiX5P85D kjUGphH3LIV5wvj4UzwWag1cXEu2yjG5VMnN1rOtFhbhZJHiHXvEWGDFtwg3pMFllL3M KGWg== X-Forwarded-Encrypted: i=1; AJvYcCWkTt6f4DpvVlVUdGGIBBarjOoE4oDcEY6JAff6lHthEeTcFpeccv9vy3R+eO7EAq9B7oqbPH8=@dpdk.org X-Gm-Message-State: AOJu0YwrvergSxgi2wv0ryeJPkDAFo7fPZwGuz1rY5Rde/EckcZxaDrE 5kc1205vKPLTaLsFVssbTqkpGNDNgvEVKIAzKTWIVaDFLnWELZeE X-Gm-Gg: ASbGncsFMZwz34JWT3wIqgXDH4C+6nJLtWzTXIZB1vKQVq4rl3Y26NXz2goSOqpog4k SXyRy+yaoOI06QcH1Ayd1w4EiCQ1Wadoq+qKbw8RhJMTqjVubRQPSKEiHLw39TgFsmtbJinRrOW i1Z+ubexpuQjESy1qNZ4YP2qPxw+MYbuHN4zqsPQQBRoDSbG3OYc7hksYdQc6i/Hd7SAfuy2HKr uBJmvGNtBd348IqsQaiKrHQpPPoJDpAZ9eKy8Yv4RWbND13Vbw3f4aG X-Google-Smtp-Source: AGHT+IFxl2qlIFWEGQbAavVh0Xf7vfIB+1gwuozTLB0W/QCFvKwMmx4RFHgR/ZCrZLVEh1AWCBWCHg== X-Received: by 2002:a05:600c:348a:b0:431:4e25:fe42 with SMTP id 5b1f17b1804b1-434a9e0fdbdmr8098355e9.32.1732668886558; Tue, 26 Nov 2024 16:54:46 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:2203:ead5:e694:df3c]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7d25c5sm3635095e9.28.2024.11.26.16.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 16:54:46 -0800 (PST) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Bruce Richardson , Aaron Conole , dpdk stable Subject: patch 'test/eal: fix lcore check' has been queued to stable release 22.11.7 Date: Wed, 27 Nov 2024 00:54:31 +0000 Message-ID: <20241127005435.188430-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241127005435.188430-1-luca.boccassi@gmail.com> References: <20241120234215.233355-28-luca.boccassi@gmail.com> <20241127005435.188430-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.7 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/29/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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/0cbed5e68fb59cb03b27e21700d48c1c094c0daf Thanks. Luca Boccassi --- >From 0cbed5e68fb59cb03b27e21700d48c1c094c0daf 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 [ 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 f4740ee6e5..767a9f3134 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.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-27 00:29:59.668873519 +0000 +++ 0005-test-eal-fix-lcore-check.patch 2024-11-27 00:29:59.508711022 +0000 @@ -1 +1 @@ -From 357f915ef5e1280d921fb103ea33066e7a888ed2 Mon Sep 17 00:00:00 2001 +From 0cbed5e68fb59cb03b27e21700d48c1c094c0daf Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 357f915ef5e1280d921fb103ea33066e7a888ed2 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index d37d6b8627..e32f83d3c8 100644 +index f4740ee6e5..767a9f3134 100644