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

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 <roret...@linux.microsoft.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 adb929a..56fadc7 100644
--- a/lib/eal/windows/eal.c
+++ b/lib/eal/windows/eal.c
@@ -462,6 +462,9 @@ enum rte_proc_type_t
         */
        rte_eal_mp_remote_launch(sync_func, NULL, SKIP_MAIN);
        rte_eal_mp_wait_lcore();
+
+       eal_mcfg_complete();
+
        return fctret;
 }
 
-- 
1.8.3.1

Reply via email to