Skip to content

pie: fix random number issues

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3random: add rte_rand_float()app/test/test_rand_perf.c doc/guides/rel_notes/release_22_07.rst lib/eal/common/rte_random.c +2 more+51 -05 replies
2/3rte_pie: remove unnecessary floating pointlib/sched/rte_pie.h+1 -10 replies
3/3rte_pie: fix incorrect floating point mathlib/sched/rte_pie.h+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.35.1