]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "tun/tap & vhost-net: avoid ptr_ring tail-drop when a qdisc is present"
authorSimon Schippers <simon.schippers@tu-dortmund.de>
Tue, 28 Jul 2026 09:22:37 +0000 (11:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Jul 2026 00:12:26 +0000 (17:12 -0700)
commitf11b48aa674b475f196bede7d69593c050107fc5
treea02fd94a52cd7cf30c99bd1408227e6ffd315ce4
parent82f0e98ba302c30594e61c8f0d7a7908da78bd82
Revert "tun/tap & vhost-net: avoid ptr_ring tail-drop when a qdisc is present"

This reverts commit 1d6e569b7d0c0b2736636749e4be0a27f3cefcb3.

The commit stops the netdev queue when the ptr_ring is full instead of
dropping the packet. My own tests showed no relevant regression, but on
Brett Sheffield's librecast testbed an IPv6 multicast testcase got
slower. With 8 iperf3 TCP threads sending, the throughput dropped from
13.5 Gbit/s to 9.13 Gbit/s.

Reported-by: Brett Sheffield <brett@librecast.net>
Closes: https://lore.kernel.org/netdev/akVnoOYQOrt8k-Gu@karahi.librecast.net/
Signed-off-by: Simon Schippers <simon.schippers@tu-dortmund.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://patch.msgid.link/20260728092240.250257-2-simon.schippers@tu-dortmund.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/tun.c