Skip to content

introduce random floating point function

Stephen Hemminger dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 5 repliesIn review
  2. v43 patches 6 repliesSuperseded
  3. v33 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3random: add rte_drand() functionapp/test/test_rand_perf.c doc/guides/rel_notes/release_22_07.rst lib/eal/common/rte_random.c +2 more+50 -00 replies
2/3rte_pie: remove unnecessary floating pointlib/sched/rte_pie.h+1 -12 replies
3/3rte_pie: fix incorrect floating point mathlib/sched/rte_pie.h+1 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMorten BrørupRay KinsellaJasvinder Singh
SeriesSeries-Acked-by
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] introduce random floating point function

Introduce a new random number function to get a floating point value. Then use it to fix PIE scheduler.

v5
- use divide method (similar to FreeBSD)
it takes same number of cycles (after optimization) and works on all platforms.

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

Stephen Hemminger (3):
random: add rte_drand() function
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            | 19 +++++++++++++++++++
 lib/eal/include/rte_random.h           | 18 ++++++++++++++++++
 lib/eal/version.map                    |  1 +
 lib/sched/rte_pie.h                    |  7 ++-----
 6 files changed, 52 insertions(+), 5 deletions(-)
Signature · 1 line
2.35.1