[PATCH v3 0/3] introduce random floating point function
Stephen Hemminger
stephen at networkplumber.org
Wed May 25 19:12:27 CEST 2022
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(-)
--
2.35.1
More information about the dev
mailing list