mbox series

[v5,0/3] introduce random floating point function

Message ID 20220526202653.99796-1-stephen@networkplumber.org (mailing list archive)
Headers
Series introduce random floating point function |

Message

Stephen Hemminger May 26, 2022, 8:26 p.m. UTC
  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(-)

Series-Acked-by: Morten Brørup <mb@smartsharesystems.com>
  

Comments

Thomas Monjalon June 22, 2022, 9:21 a.m. UTC | #1
26/05/2022 22:26, Stephen Hemminger:
> Stephen Hemminger (3):
>   random: add rte_drand() function
>   rte_pie: remove unnecessary floating point
>   rte_pie: fix incorrect floating point math

Series applied, thanks.