Re: [PATCH v2 2/5] random: defer seeding to EAL init

2024-12-18 Thread Mattias Rönnblom
On 2024-12-18 17:35, Stephen Hemminger wrote: On Tue, 17 Dec 2024 09:59:49 +0100 David Marchand wrote: The RNG is documented as being seeded as part of EAL init. Move the initialisation (seeding) helper out of a constructor and call it explicitly from rte_eal_init() as it was done before comm

Re: [PATCH v2 2/5] random: defer seeding to EAL init

2024-12-18 Thread Stephen Hemminger
On Tue, 17 Dec 2024 09:59:49 +0100 David Marchand wrote: > The RNG is documented as being seeded as part of EAL init. > > Move the initialisation (seeding) helper out of a constructor and > call it explicitly from rte_eal_init() as it was done before commit > 3f002f069612 ("eal: replace libc-bas

[PATCH v2 2/5] random: defer seeding to EAL init

2024-12-17 Thread David Marchand
The RNG is documented as being seeded as part of EAL init. Move the initialisation (seeding) helper out of a constructor and call it explicitly from rte_eal_init() as it was done before commit 3f002f069612 ("eal: replace libc-based random generation with LFSR"). This also moves the unconditional