Stephen Hemminger
45a192b2b4
sched: fix floating point math
...
The function rte_pie_drop was attempting to do a random probability
drop, but because of incorrect usage of fixed point divide
it would always return 1.
Change to use new rte_drand() instead.
Fixes: 44c730b0e379 ("sched: add PIE based congestion management")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2022-06-22 11:11:48 +02:00
..
2022-05-30 23:30:33 +02:00
2022-02-22 13:10:39 +01:00
2021-10-01 15:31:47 +02:00
2022-03-14 11:41:52 +01:00
2021-08-17 08:37:52 +02:00
2022-06-21 16:46:56 +02:00
2022-03-15 02:13:57 +01:00
2022-06-07 16:44:21 +02:00
2022-02-27 19:06:59 +01:00
2022-06-06 23:31:29 +02:00
2022-06-22 10:59:09 +02:00
2022-02-27 18:58:47 +01:00
2022-06-21 16:46:56 +02:00
2022-06-07 16:44:21 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-21 16:46:56 +02:00
2022-03-07 20:31:14 +01:00
2022-02-22 13:10:39 +01:00
2022-06-21 16:46:56 +02:00
2022-06-21 16:46:56 +02:00
2022-06-07 16:44:21 +02:00
2022-06-07 16:44:21 +02:00
2022-06-21 16:46:56 +02:00
2022-02-22 14:47:49 +01:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-15 09:12:19 +02:00
2022-06-01 11:15:37 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-21 16:46:56 +02:00
2022-02-22 14:47:49 +01:00
2022-06-21 16:46:56 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 16:39:25 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-20 16:14:50 +02:00
2022-06-01 15:04:34 +02:00
2022-06-21 16:46:56 +02:00
2022-06-21 16:46:56 +02:00
2022-02-22 13:10:39 +01:00
2022-03-08 15:22:33 +01:00
2022-02-22 13:10:39 +01:00
2022-06-07 16:44:21 +02:00
2022-02-22 13:10:39 +01:00
2022-06-22 11:11:48 +02:00
2022-04-28 09:26:48 +02:00
2022-02-22 13:10:39 +01:00
2022-06-07 16:44:21 +02:00
2022-02-22 14:47:49 +01:00
2022-06-21 16:46:57 +02:00
2022-06-21 16:46:57 +02:00
2022-06-07 20:49:20 +02:00