[v2,1/2] eal: add missing call marking memory config complete
Checks
Commit Message
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 <roretzla@linux.microsoft.com>
---
lib/eal/windows/eal.c | 3 +++
1 file changed, 3 insertions(+)
@@ -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;
}