From 9dced637f8dd269e0a409eb2eec1404d54d517f4 Mon Sep 17 00:00:00 2001 From: "Mohit P. Tahiliani" Date: Tue, 4 Feb 2020 16:19:19 +0530 Subject: tc: add support for FQ-PIE packet scheduler This patch adds support for the FQ-PIE packet Scheduler Principles: - Packets are classified on flows. - This is a Stochastic model (as we use a hash, several flows might be hashed to the same slot) - Each flow has a PIE managed queue. - Flows are linked onto two (Round Robin) lists, so that new flows have priority on old ones. - For a given flow, packets are not reordered. - Drops during enqueue only. - ECN capability is off by default. - ECN threshold (if ECN is enabled) is at 10% by default. - Uses timestamps to calculate queue delay by default. Usage: tc qdisc ... fq_pie [ limit PACKETS ] [ flows NUMBER ] [ target TIME ] [ tupdate TIME ] [ alpha NUMBER ] [ beta NUMBER ] [ quantum BYTES ] [ memory_limit BYTES ] [ ecn_prob PERCENTAGE ] [ [no]ecn ] [ [no]bytemode ] [ [no_]dq_rate_estimator ] defaults: limit: 10240 packets, flows: 1024 target: 15 ms, tupdate: 15 ms (in jiffies) alpha: 1/8, beta : 5/4 quantum: device MTU, memory_limit: 32 Mb ecnprob: 10%, ecn: off bytemode: off, dq_rate_estimator: off Signed-off-by: Mohit P. Tahiliani Signed-off-by: Sachin D. Patil Signed-off-by: V. Saicharan Signed-off-by: Mohit Bhasi Signed-off-by: Leslie Monis Signed-off-by: Gautam Ramakrishnan Signed-off-by: Stephen Hemminger --- tc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tc/Makefile') diff --git a/tc/Makefile b/tc/Makefile index f06ba14b..e31cbc12 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -70,6 +70,7 @@ TCMODULES += q_codel.o TCMODULES += q_fq_codel.o TCMODULES += q_fq.o TCMODULES += q_pie.o +TCMODULES += q_fq_pie.o TCMODULES += q_cake.o TCMODULES += q_hhf.o TCMODULES += q_clsact.o -- cgit v1.2.3