Thread (69 messages) 69 messages, 3 authors, 2026-02-16

Re: [PATCH net-next v7 5/9] tun/tap: add unconsume function for returning entries to ptr_ring

From: Jason Wang <jasowang@redhat.com>
Date: 2026-01-08 03:41:00
Also in: kvm, lkml, virtualization

On Thu, Jan 8, 2026 at 5:06 AM Simon Schippers
[off-list ref] wrote:
Add {tun,tap}_ring_unconsume() wrappers to allow external modules
(e.g. vhost-net) to return previously consumed entries back to the
ptr_ring.
It would be better to explain why we need such a return.
The functions delegate to ptr_ring_unconsume() and take a
destroy callback for entries that cannot be returned to the ring.
Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help