Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under backpressure

From: patchwork-bot+netdevbpf

Date: Tue Dec 01 2026 - 23:00:26 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:

On Wed, 25 Nov 2026 16:23:08 +0100 you wrote:
> While working on the veth BQL series [1], I noticed that veth was
> sometimes faster with BQL enabled than without it. Debugging this showed
> two reasons, both in how veth handles a full ptr_ring since commit
> dc82a33297fc ("veth: apply qdisc backpressure on full ptr_ring to reduce
> TX drops"):
>
> - With BQL, the completions inside the NAPI loop wake the txq in the
> middle of the poll. Without BQL, veth_poll() wakes the stopped peer
> txq only at the end of the poll. The wake raises NET_TX_SOFTIRQ on the
> consumer CPU, which then refills the ring from the qdisc itself
> instead of consuming. Patch 2 wakes the txq in the middle of the poll,
> so that the producer refills the ring on its own CPU. Patch 1 adds
> PTR_RING_BATCH, which sets the wake point.
>
> [...]

Here is the summary with links:
- [net-next,1/3] ptr_ring: add PTR_RING_BATCH
https://git.kernel.org/netdev/net-next/c/48f93560e2f3
- [net-next,2/3] veth: wake the peer txq in the middle of the NAPI poll
https://git.kernel.org/netdev/net-next/c/5c959d1a51fd
- [net-next,3/3] veth: stop the txq as soon as the ptr_ring is full
https://git.kernel.org/netdev/net-next/c/241e0324d7c1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html