[RFT v2 0/3] pie: fix random number issues
Stephen Hemminger
stephen at networkplumber.org
Wed May 25 00:18:21 CEST 2022
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(-)
--
2.35.1
More information about the dev
mailing list