[dpdk-dev] [PATCH v3 6/9] eal: register non-EAL threads as lcores
Andrew Rybchenko
arybchenko at solarflare.com
Tue Jun 23 19:02:28 CEST 2020
On 6/22/20 4:25 PM, David Marchand wrote:
> DPDK allows calling some part of its API from a non-EAL thread but this
> has some limitations.
> OVS (and other applications) has its own thread management but still
> want to avoid such limitations by hacking RTE_PER_LCORE(_lcore_id) and
> faking EAL threads potentially unknown of some DPDK component.
>
> Introduce a new API to register non-EAL thread and associate them to a
> free lcore with a new NON_EAL role.
> This role denotes lcores that do not run DPDK mainloop and as such
> prevents use of rte_eal_wait_lcore() and consorts.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
More information about the dev
mailing list