[dpdk-dev] [PATCH v3 6/6] eal: add PRNG to MAINTAINERS and release notes

Mattias Rönnblom mattias.ronnblom at ericsson.com
Wed Jun 5 12:44:00 CEST 2019

Add a section on PRNG in MAINTAINERS, and information on the PRNG
improvements in the 19.08 release notes.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
 MAINTAINERS                            |  6 ++++++
 doc/guides/rel_notes/release_19_08.rst | 13 +++++++++++++
 2 files changed, 19 insertions(+)

index d0bf259b8..fad4a7bc0 100644
@@ -222,6 +222,12 @@ M: Joyce Kong <joyce.kong at arm.com>
 F: lib/librte_eal/common/include/generic/rte_ticketlock.h
 F: app/test/test_ticketlock.c
+Pseudo-random Number Generation
+M: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
+F: lib/librte_eal/common/include/rte_random.h
+F: lib/librte_eal/common/rte_random.c
+F: app/test/test_rand_perf.c
 ARM v7
 M: Jan Viktorin <viktorin at rehivetech.com>
 M: Gavin Hu <gavin.hu at arm.com>
diff --git a/doc/guides/rel_notes/release_19_08.rst b/doc/guides/rel_notes/release_19_08.rst
index c199270c5..b6195dd14 100644
--- a/doc/guides/rel_notes/release_19_08.rst
+++ b/doc/guides/rel_notes/release_19_08.rst
@@ -54,6 +54,19 @@ New Features
      Also, make sure to start the actual text at the margin.
+* **Updated the EAL Pseudo-random Number Generator.**
+  The lrand48()-based rte_rand() function is replaced with a
+  DPDK-native combined Linear Feedback Shift Register (LFSR)
+  pseudo-random number generator (PRNG).
+  This new PRNG implementation is multi-thread safe, provides
+  higher-quality pseudo-random numbers (including full 64 bit
+  support) and improved performance.
+  In addition, <rte_random.h> is extended with a new function
+  rte_rand_max() which supplies unbiased, bounded pseudo-random
+  numbers.
 Removed Items

More information about the dev mailing list