[Cake] Long-RTT broken again

Jonathan Morton chromatix99 at gmail.com
Tue Nov 3 12:31:00 EST 2015


> On 3 Nov, 2015, at 19:25, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
> 	if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit))
> 		return qdisc_enqueue_tail(skb, sch);
> 
> on enqueue.
> 
> Which is the same data that Cake uses. Hmm, weird…

No, Cake uses skb->truesize for this particular purpose.  It uses qdisc_pkt_len(skb) only for timing purposes.

 - Jonathan Morton




More information about the Cake mailing list