[PATCH 1/2] eal: add missing call marking memory config complete
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Dec 15 19:07:32 CET 2022
On Thu, Dec 15, 2022 at 10:59:07AM +0100, David Marchand wrote:
> On Tue, Dec 6, 2022 at 1:39 AM Tyler Retzlaff
> <roretzla at linux.microsoft.com> wrote:
> >
> > Memory configuration was not being marked as completed add the missing
> > call to rte_eal_init() for Windows.
> >
> > Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
>
> The change is ok.
>
> The commitlog misses some context: I guess the point is to let
> rte_thread_register work on Windows.
oh i guess i better provide a better message. the reason is i want to
run the test_ctrl_thread() (in test_lcores.c) which is an api available
on windows. maybe when i add the replacement control thread creation it
should be moved to / live in test_threads.c?
it is nice as a side-effect it did pick up that the mcfg hadn't been
marked as done. (though i understand that's not the purpose of the
test).
i'll have another whack at changing the log.
> So we can mark this change as:
> Fixes: 5c307ba2a5b1 ("eal: register non-EAL threads as lcores")
>
> WDYT?
yep, v2 will fix the message & the Fixes tag.
>
>
> In any case, this change won't fix anything related to mp.
> If mp is supported one day on Windows, other calls to eal_mcfg* would
> be required.
agreed.
>
> --
> David Marchand
More information about the dev
mailing list