On Thu, Mar 12, 2026 at 9:07 PM Simon Schippers <[email protected]> wrote: > > Introduce tun_ring_consume() that wraps ptr_ring_consume() and calls > __tun_wake_queue(). The latter wakes the stopped netdev subqueue once > half of the ring capacity has been consumed, tracked via the new > cons_cnt field in tun_file. When the ring is empty the queue is also > woken to handle potential races. > > Without the corresponding queue stopping (introduced in a subsequent > commit), this patch alone causes no regression for a tap setup sending > to a qemu VM: 1.151 Mpps to 1.153 Mpps. >
Another call to squash this into next patch. Thanks

