On Sat, 30 Mar 2024 17:45:41 -0400 fwefew 4t4tg <[email protected]> wrote:
> // If program run with --lcores=(1)@2,(2)@4 this loop will
> // create and run two threads lcore 1 pinned to CPU 2 and lcore 2
> // pinned to CPU 4. the output will look like:
> // hello from core 1
> // hello from core 2
> RTE_LCORE_FOREACH_WORKER(lcore_id) {
> rte_eal_remote_launch(lcore_hello, NULL, lcore_id);
> }
> .
You don't need that loop, that is what rte_eal_mp_remote_launch does
with more error checking.
