Netdev List
 help / color / mirror / Atom feed
* "lockless" qdisc breaks tx_queue_len change too?
@ 2018-01-03  4:41 Cong Wang
  2018-01-03 18:09 ` John Fastabend
  0 siblings, 1 reply; 4+ messages in thread
From: Cong Wang @ 2018-01-03  4:41 UTC (permalink / raw)
  To: John Fastabend; +Cc: Linux Kernel Network Developers

Hi, John

While reviewing your ptr_ring fix again today, it looks like your
"lockless" qdisc patchset breaks dev->tx_queue_len behavior.

Before your patchset, dev->tx_queue_len is merely an integer to read,
after your patchset, the skb array has to be resized when
dev->tx_queue_len changes, but I don't see any qdisc code handles
this...

Also, because of that, I doubt __skb_array_empty() in
pfifo_fast_dequeue() can be safe any more even with your ptr_ring fix.

What am I missing?

Thanks.

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

end of thread, other threads:[~2018-01-04  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03  4:41 "lockless" qdisc breaks tx_queue_len change too? Cong Wang
2018-01-03 18:09 ` John Fastabend
2018-01-03 23:41   ` Cong Wang
2018-01-04  3:03     ` John Fastabend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox