patches for DPDK stable branches
 help / color / mirror / Atom feed
* patch 'eal/windows: mark memory config as complete' has been queued to stable release 20.11.8
@ 2023-02-23  9:36 luca.boccassi
  2023-02-23  9:36 ` patch 'kni: fix build on RHEL 9.1' " luca.boccassi
                   ` (69 more replies)
  0 siblings, 70 replies; 144+ messages in thread
From: luca.boccassi @ 2023-02-23  9:36 UTC (permalink / raw)
  To: Tyler Retzlaff; +Cc: Stephen Hemminger, David Marchand, dpdk stable

Hi,

FYI, your patch has been queued to stable release 20.11.8

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/25/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://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/77f9d2464c9a604214849c9c233a9e8dc8a0a7e9

Thanks.

Luca Boccassi

---
From 77f9d2464c9a604214849c9c233a9e8dc8a0a7e9 Mon Sep 17 00:00:00 2001
From: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date: Fri, 16 Dec 2022 09:16:39 -0800
Subject: [PATCH] eal/windows: mark memory config as complete

[ 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@linux.microsoft.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Marchand <david.marchand@redhat.com>
---
 lib/librte_eal/windows/eal.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c
index 892c69356d..e865427e97 100644
--- a/lib/librte_eal/windows/eal.c
+++ b/lib/librte_eal/windows/eal.c
@@ -437,6 +437,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.39.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-23 09:36:28.384681399 +0000
+++ 0001-eal-windows-mark-memory-config-as-complete.patch	2023-02-23 09:36:28.166168835 +0000
@@ -1 +1 @@
-From 40032e5e0787fb311cc89c45bd681740b0c9e266 Mon Sep 17 00:00:00 2001
+From 77f9d2464c9a604214849c9c233a9e8dc8a0a7e9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 40032e5e0787fb311cc89c45bd681740b0c9e266 ]
+
@@ -19 +21 @@
- lib/eal/windows/eal.c | 3 +++
+ lib/librte_eal/windows/eal.c | 3 +++
@@ -22,5 +24,5 @@
-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)
+diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c
+index 892c69356d..e865427e97 100644
+--- a/lib/librte_eal/windows/eal.c
++++ b/lib/librte_eal/windows/eal.c
+@@ -437,6 +437,9 @@ rte_eal_init(int argc, char **argv)

^ permalink raw reply	[flat|nested] 144+ messages in thread