patch 'eal/windows: mark memory config as complete' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 07:58:30 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/01/23. 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=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=fc98f9c6d73e9fb81c46720b656af059172f8fa8

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From fc98f9c6d73e9fb81c46720b656af059172f8fa8 Mon Sep 17 00:00:00 2001
From: Tyler Retzlaff <roretzla at linux.microsoft.com>
Date: Fri, 16 Dec 2022 09:16:39 -0800
Subject: [PATCH] eal/windows: mark memory config as complete
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 40032e5e0787fb311cc89c45bd681740b0c9e266 ]

Memory configuration was not being marked as completed.
Add the missing call to rte_eal_init() for Windows.

This allows rte_thread_register to work on Windows and lcores_autotest
to be built and run Windows which also exercises the
rte_ctrl_thread_create API on Windows.

Fixes: 5c307ba2a5b1 ("eal: register non-EAL threads as lcores")

Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: David Marchand <david.marchand at redhat.com>
---
 lib/eal/windows/eal.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/eal/windows/eal.c b/lib/eal/windows/eal.c
index adb929a014..56fadc7afe 100644
--- a/lib/eal/windows/eal.c
+++ b/lib/eal/windows/eal.c
@@ -462,6 +462,9 @@ rte_eal_init(int argc, char **argv)
 	 */
 	rte_eal_mp_remote_launch(sync_func, NULL, SKIP_MAIN);
 	rte_eal_mp_wait_lcore();
+
+	eal_mcfg_complete();
+
 	return fctret;
 }

--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-27 14:08:41.104870400 +0800
+++ 0003-eal-windows-mark-memory-config-as-complete.patch	2023-02-27 14:08:40.719237000 +0800
@@ -1 +1 @@
-From 40032e5e0787fb311cc89c45bd681740b0c9e266 Mon Sep 17 00:00:00 2001
+From fc98f9c6d73e9fb81c46720b656af059172f8fa8 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 40032e5e0787fb311cc89c45bd681740b0c9e266 ]


More information about the stable mailing list