Re: [PATCH RFC] net_sched/codel: do not defer queue length update

2018-03-10 Thread Felix Fietkau
On 2017-08-21 10:14, Konstantin Khlebnikov wrote: > When codel wants to drop last packet in ->dequeue() it cannot call > qdisc_tree_reduce_backlog() right away - it will notify parent qdisc > about zero qlen and HTB/HFSC will deactivate class. The same class will > be deactivated second time by

[PATCH RFC] net_sched/codel: do not defer queue length update

2017-08-21 Thread Konstantin Khlebnikov
When codel wants to drop last packet in ->dequeue() it cannot call qdisc_tree_reduce_backlog() right away - it will notify parent qdisc about zero qlen and HTB/HFSC will deactivate class. The same class will be deactivated second time by caller of ->dequeue(). Currently codel and fq_codel defer