[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc204a07-4ba0-4645-b531-4ebfb62302a1@kernel.org>
Date: Sat, 13 Apr 2024 11:17:35 -0600
From: David Ahern <dsahern@...nel.org>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
netdev@...r.kernel.org
Cc: Jens Axboe <axboe@...nel.dk>, "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Eric Dumazet <edumazet@...gle.com>,
Willem de Bruijn <willemdebruijn.kernel@...il.com>
Subject: Re: [RFC 1/6] net: extend ubuf_info callback to ops structure
On 4/12/24 6:55 AM, Pavel Begunkov wrote:
> We'll need to associate additional callbacks with ubuf_info, introduce
> a structure holding ubuf_info callbacks. Apart from a more smarter
> io_uring notification management introduced in next patches, it can be
> used to generalise msg_zerocopy_put_abort() and also store
> ->sg_from_iter, which is currently passed in struct msghdr.
>
> Signed-off-by: Pavel Begunkov <asml.silence@...il.com>
> ---
> drivers/net/tap.c | 2 +-
> drivers/net/tun.c | 2 +-
> drivers/vhost/net.c | 8 ++++++--
> include/linux/skbuff.h | 19 +++++++++++--------
> io_uring/notif.c | 8 ++++++--
> net/core/skbuff.c | 17 +++++++++++------
> 6 files changed, 36 insertions(+), 20 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists