[PATCH v4 1/3] random: add rte_drand() function
    Ray Kinsella 
    mdr at ashroe.eu
       
    Thu May 26 11:56:05 CEST 2022
    
    
  
Stephen Hemminger <stephen at networkplumber.org> writes:
> The PIE code and other applications can benefit from having a
> fast way to get a random floating point value. This new function
> is equivalent to drand() in the standard library.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  app/test/test_rand_perf.c              |  7 +++++
>  doc/guides/rel_notes/release_22_07.rst |  5 ++++
>  lib/eal/common/rte_random.c            | 41 ++++++++++++++++++++++++++
>  lib/eal/include/rte_random.h           | 18 +++++++++++
>  lib/eal/meson.build                    |  3 ++
>  lib/eal/version.map                    |  1 +
>  6 files changed, 75 insertions(+)
>
Acked-by: Ray Kinsella <mdr at ashoe.eu>
    
    
More information about the dev
mailing list