Re: [PATCH net-next] net: sched: pie: avoid slow division in drop probability decay

2019-02-28 Thread David Miller
From: Leslie Monis Date: Thu, 28 Feb 2019 18:06:54 +0530 > As per RFC 8033, it is sufficient for the drop probability > decay factor to have a value of (1 - 1/64) instead of 98%. > This avoids the need to do slow division. > > Suggested-by: David Laight > Signed-off-by: Leslie Monis Applied.

[PATCH net-next] net: sched: pie: avoid slow division in drop probability decay

2019-02-28 Thread Leslie Monis
As per RFC 8033, it is sufficient for the drop probability decay factor to have a value of (1 - 1/64) instead of 98%. This avoids the need to do slow division. Suggested-by: David Laight Signed-off-by: Leslie Monis --- net/sched/sch_pie.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)