netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] net/sched : qlen can not really be per cpu ?
@ 2019-02-26  6:42 Eric Dumazet
  2019-02-26 23:19 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Dumazet @ 2019-02-26  6:42 UTC (permalink / raw)
  To: John Fastabend, Networking, Jamal Hadi Salim, Cong Wang, Jiri Pirko

HTB + pfifo_fast as a leaf qdisc hits badly the following warning in htb_activate() :

WARN_ON(cl->level || !cl->leaf.q || !cl->leaf.q->q.qlen);

This is because pfifo_fast does not update sch->q.qlen, but per cpu counters.
So cl->leaf.q->q.qlen is zero.

HFSC, CBQ, DRR, QFQ  have the same problem.

Any ideas how we can fix this ?

Thanks !

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-28  5:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26  6:42 [BUG] net/sched : qlen can not really be per cpu ? Eric Dumazet
2019-02-26 23:19 ` Eric Dumazet
2019-02-26 23:51   ` Cong Wang
2019-02-27  0:56     ` Eric Dumazet
2019-02-27 16:59       ` Eric Dumazet
2019-02-28  2:46       ` Cong Wang
2019-02-28  5:15         ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).