On 2023-10-06 11:13, David Marchand wrote:
On Wed, Oct 4, 2023 at 1:00 PM Mattias Rönnblom
<[email protected]> wrote:
Clarify MT safety guarantees for unregistered non-EAL threads calling
PRNG functions in rte_random.h.
Clarify that rte_srand() is not MT safe in regards to calls to
rte_rand_max() and rte_drand().
Suggested-by: Stephen Hemminger <[email protected]>
Signed-off-by: Mattias Rönnblom <[email protected]>
Should it be backported along 3a4e21301c7a ("random: initialize state
for unregistered non-EAL threads") ?
I don't think that's worth the trouble, but if someone has a different
opinion, I also don't mind if it is.