[dpdk-dev] [PATCH v6 07/10] eal: add lcore init callbacks

Morten Brørup mb at smartsharesystems.com
Thu Dec 15 10:05:12 CET 2022


> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Marchand
> Sent: Monday, 6 July 2020 22.53
> 
> DPDK components and applications can have their say when a new lcore is
> initialized. For this, they can register a callback for initializing
> and
> releasing their private data.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---

David,

Shouldn't these callbacks be called from the EAL threads too, e.g. from eal_thread_loop()?

I looks like they are only called from eal_lcore_non_eal_allocate(), which is only called from rte_thread_register().

-Morten



More information about the dev mailing list