Skip to content

fixes to rte_random for non-EAL threads

Stephen Hemminger dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 10 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2random: initialize the random state for non-EAL threadslib/eal/common/rte_random.c+1 -14 replies
2/2random: make rte_rand() thread safe for non-EAL threadslib/eal/common/rte_random.c+36 -186 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMorten BrørupMattias Rönnblom
1/2A-b R-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] fixes to rte_random for non-EAL threads

While examining the code for rte_random, noticed a couple of existing bugs around use of rte_rand() by non-EAL threads

Stephen Hemminger (2):
random: initialize the random state for non-EAL threads
random: make rte_rand() thread safe for non-EAL threads

 lib/eal/common/rte_random.c | 56 ++++++++++++++++++++++++-------------
 1 file changed, 37 insertions(+), 19 deletions(-)
Signature · 1 line
2.39.2