[PATCH] eal: have unregistered non-EAL threads use dedicated PRNG
David Marchand
david.marchand at redhat.com
Fri Feb 10 12:44:57 CET 2023
On Mon, Dec 5, 2022 at 11:08 AM Mattias Rönnblom
<mattias.ronnblom at ericsson.com> wrote:
>
> Prior to this change, unregistered non-EAL threads shared a PRNG
> instance with the main lcore. The main lcore may well be used for fast
> path processing, potentially making rte_rand() calls in the
> process. It should not need to synchronize with control threads.
>
> With this change, all unregistered non-EAL threads share one dedicated
> PRNG instance.
>
> The API documentation is updated to use the proper terminology when
> referring to threads equipped with an lcore id.
>
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list