[Cake] cake infinite loop(?) with hfsc on one-armed router

Pete Heist pete at heistp.net
Sat Jan 5 00:58:03 EST 2019


> On Jan 4, 2019, at 11:34 PM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
> Pete Heist <pete at heistp.net> writes:
> 
> This basically means that we can't use CAKE as a leaf qdisc with GSO
> splitting as it stands currently. I *think* the solution is for CAKE to
> notify its parents; could you try the patch below and see if it helps?

Aha, good news. :)

I’m probably not currently in a position to try it on my old kernels with the out of tree build:

On 3.16.7:

root at apu1a:~/src/sch_cake# make
make[1]: Entering directory '/usr/src/linux-headers-3.16.7-ckt9-voyage'
  CC [M]  /root/src/sch_cake/sch_cake.o
/root/src/sch_cake/sch_cake.c: In function ‘adjust_parent_qlen’:
/root/src/sch_cake/sch_cake.c:1738:20: error: ‘TCQ_F_NOPARENT’ undeclared (first use in this function)
   if (sch->flags & TCQ_F_NOPARENT)
                    ^
/root/src/sch_cake/sch_cake.c:1738:20: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:263: recipe for target '/root/src/sch_cake/sch_cake.o' failed
make[2]: *** [/root/src/sch_cake/sch_cake.o] Error 1
Makefile:1350: recipe for target '_module_/root/src/sch_cake' failed
make[1]: *** [_module_/root/src/sch_cake] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.7-ckt9-voyage'
Makefile:7: recipe for target 'default' failed
make: *** [default] Error 2

On 4.9.0-8:

root at apu2a:~/src/sch_cake$ make
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-8-amd64'
  CC [M]  /home/sysadmin/src/sch_cake/sch_cake.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "qdisc_lookup" [/home/sysadmin/src/sch_cake/sch_cake.ko] undefined!
  CC      /home/sysadmin/src/sch_cake/sch_cake.mod.o
  LD [M]  /home/sysadmin/src/sch_cake/sch_cake.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-8-amd64'



More information about the Cake mailing list