[PATCH v2 1/2] random: initialize the random state for non-EAL threads

Stephen Hemminger stephen at networkplumber.org
Mon Oct 2 18:07:15 CEST 2023


On Mon, 2 Oct 2023 14:27:48 +0200
Mattias Rönnblom <hofors at lysator.liu.se> wrote:

> On 2023-09-07 17:24, Stephen Hemminger wrote:
> > The per-lcore PRNG was not initializing the rand_state of all
> > the lcores. Any usage of rte_random by a non-EAL lcore would  
> 
> "/../ by an unregistered non-EAL thread /../"
> 
> > use rand_states[RTE_MAX_LCORE] which was never initialized.

Sure, that is a more precise wording.


More information about the dev mailing list