aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLeslie Monis <[email protected]>2019-02-28 12:36:54 +0000
committerDavid S. Miller <[email protected]>2019-02-28 18:35:41 +0000
commit6c97da141528097eb8e1d532dc0dbe3501f4c8ff (patch)
tree10f032522179046ddde875c3a57963f8cd2581ca /net/switchdev/switchdev.c
parentcxgb4vf: Enter debugging mode if FW is inaccessible (diff)
downloadkernel-6c97da141528097eb8e1d532dc0dbe3501f4c8ff.tar.gz
kernel-6c97da141528097eb8e1d532dc0dbe3501f4c8ff.zip
net: sched: pie: avoid slow division in drop probability decay
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 <[email protected]> Signed-off-by: Leslie Monis <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions