[Cake] testers wanted for the "cake" qdisc on mainstream platforms

Andy Furniss adf.lists at gmail.com
Thu Dec 14 19:58:36 EST 2017


Dave Taht wrote:
> It is my hope to get  the cake qdisc into the Linux kernel in the next
> release cycle. We could definitely use more testers! The version we
> have here will compile against almost any kernel on any platform,
> dating back as far as 3.10, and has been integrated into the
> sqm-scripts and shipped in lede for ages...

Fails to build on on 4.1.46, needs

diff --git a/sch_cake.c b/sch_cake.c
index 021b215..d4f0c21 100644
--- a/sch_cake.c
+++ b/sch_cake.c
@@ -70,7 +70,7 @@
  #include <net/netfilter/nf_conntrack.h>
  #endif

-#if (KERNEL_VERSION(4, 4, 11) > LINUX_VERSION_CODE) || 
((KERNEL_VERSION(4, 5, 0) <= LINUX_VERSION_CODE) && (KERNEL_VERSION(4, 
5, 5) > LINUX_VERSION_CODE))
+#if 0
  #define qdisc_tree_reduce_backlog(_a, _b, _c) 
qdisc_tree_decrease_qlen(_a, _b)
  #endif

grepping kernel tree for qdisc_tree_reduce_backlog gets results.

grepping qdisc_tree_decrease_qlen doesn't.




More information about the Cake mailing list