Skip to content
Commit 3f95f55e authored by Leslie Monis's avatar Leslie Monis Committed by David S. Miller
Browse files

net: sched: pie: change tc_pie_xstats->prob



Commit 105e808c ("pie: remove pie_vars->accu_prob_overflows")
changes the scale of probability values in PIE from (2^64 - 1) to
(2^56 - 1). This affects the precision of tc_pie_xstats->prob in
user space.

This patch ensures user space is unaffected.

Suggested-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarLeslie Monis <lesliemonis@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e08ab0b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment