[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPjmWUAuG-mMJGZm@krikkit>
Date: Wed, 22 Oct 2025 16:12:41 +0200
From: Sabrina Dubroca <sd@...asysnail.net>
To: Ralf Lici <ralf@...delbit.com>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Mina Almasry <almasrymina@...gle.com>,
Eric Biggers <ebiggers@...gle.com>,
Antonio Quartulli <antonio@...nvpn.net>
Subject: Re: [PATCH net v3 1/3] net: datagram: introduce datagram_poll_queue
for custom receive queues
2025-10-21, 12:09:40 +0200, Ralf Lici wrote:
> Some protocols using TCP encapsulation (e.g., espintcp, openvpn) deliver
> userspace-bound packets through a custom skb queue rather than the
> standard sk_receive_queue.
>
> Introduce datagram_poll_queue that accepts an explicit receive queue,
> and convert datagram_poll into a wrapper around datagram_poll_queue.
> This allows protocols with custom skb queues to reuse the core polling
> logic without relying on sk_receive_queue.
>
> Cc: Sabrina Dubroca <sd@...asysnail.net>
> Cc: Antonio Quartulli <antonio@...nvpn.net>
> Signed-off-by: Ralf Lici <ralf@...delbit.com>
> ---
> include/linux/skbuff.h | 3 +++
> net/core/datagram.c | 44 ++++++++++++++++++++++++++++++++----------
> 2 files changed, 37 insertions(+), 10 deletions(-)
Reviewed-by: Sabrina Dubroca <sd@...asysnail.net>
--
Sabrina
Powered by blists - more mailing lists