]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: pie: enable timestamp based delay calculation
authorGautam Ramakrishnan <gautamramk@gmail.com>
Wed, 20 Nov 2019 14:13:54 +0000 (19:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 20:31:45 +0000 (12:31 -0800)
commit88090cbebd0b74c4a2e33e03a76e6e0b3584a7a7
tree118b8b42bde81f21c0b79abf1c7d073d9043cd6a
parent77b084cb36e181b4560e74d38494779aa72eeb68
net: sched: pie: enable timestamp based delay calculation

RFC 8033 suggests an alternative approach to calculate the queue
delay in PIE by using a timestamp on every enqueued packet. This
patch adds an implementation of that approach and sets it as the
default method to calculate queue delay. The previous method (based
on Little's law) to calculate queue delay is set as optional.

Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in>
Acked-by: Dave Taht <dave.taht@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h
net/sched/sch_pie.c