mbox

[RFT,v2,0/3] pie: fix random number issues

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

Message

Stephen Hemminger May 24, 2022, 10:18 p.m. UTC
  Alternate way to fix PIE use of random by introducing a fast
way to get a random floating point number. It ends up
not needing floating point math.

Stephen Hemminger (3):
  random: add rte_rand_float()
  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            | 21 +++++++++++++++++++++
 lib/eal/include/rte_random.h           | 17 +++++++++++++++++
 lib/eal/version.map                    |  1 +
 lib/sched/rte_pie.h                    |  7 ++-----
 6 files changed, 53 insertions(+), 5 deletions(-)