mbox

[v3,0/3] introduce random floating point function

Message ID 20220525171231.200035-1-stephen@networkplumber.org (mailing list archive)
Headers

Message

Stephen Hemminger May 25, 2022, 5:12 p.m. UTC
  Introduce a new random number function to get a floating
point value. Then use it to fix PIE scheduler.

v3
   - rename to rte_drand() and other review feedback
   - fix warnings with some compilers in test code

Stephen Hemminger (3):
  random: add rte_drand() funciton
  rte_pie: remove unnecessary floating point
  rte_pie: fix incorrect floating point math

 app/test/test_rand_perf.c              |  7 +++++++
 doc/guides/rel_notes/release_22_07.rst |  5 +++++
 lib/eal/common/rte_random.c            | 24 ++++++++++++++++++++++++
 lib/eal/include/rte_random.h           | 18 ++++++++++++++++++
 lib/eal/version.map                    |  1 +
 lib/sched/rte_pie.h                    |  7 ++-----
 6 files changed, 57 insertions(+), 5 deletions(-)