[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250117141600.61db4893@kernel.org>
Date: Fri, 17 Jan 2025 14:16:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Pavel Begunkov <asml.silence@...il.com>
Cc: io-uring@...r.kernel.org, netdev@...r.kernel.org, Jens Axboe
<axboe@...nel.dk>, Paolo Abeni <pabeni@...hat.com>, "David S . Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jesper Dangaard
Brouer <hawk@...nel.org>, David Ahern <dsahern@...nel.org>, Mina Almasry
<almasrymina@...gle.com>, Stanislav Fomichev <stfomichev@...il.com>, Joe
Damato <jdamato@...tly.com>, Pedro Tammela <pctammela@...atatu.com>, David
Wei <dw@...idwei.uk>
Subject: Re: [PATCH net-next v12 00/10] io_uring zero copy rx
On Fri, 17 Jan 2025 16:11:38 +0000 Pavel Begunkov wrote:
> This patchset contains net/ patches needed by a new io_uring request
> implementing zero copy rx into userspace pages, eliminating a kernel
> to user copy.
>
> We configure a page pool that a driver uses to fill a hw rx queue to
> hand out user pages instead of kernel pages. Any data that ends up
> hitting this hw rx queue will thus be dma'd into userspace memory
> directly, without needing to be bounced through kernel memory. 'Reading'
> data out of a socket instead becomes a _notification_ mechanism, where
> the kernel tells userspace where the data is. The overall approach is
> similar to the devmem TCP proposal.
The YNL codegen is not clean on this series, so CI didn't run
the selftests. Plus we need to resolve the issue of calling
the ops on a dead netdev.
diff --git a/include/uapi/linux/netdev.h b/include/uapi/linux/netdev.h
index 684090732068..6c6ee183802d 100644
--- a/include/uapi/linux/netdev.h
+++ b/include/uapi/linux/netdev.h
@@ -87,7 +87,6 @@ enum {
};
enum {
-
__NETDEV_A_IO_URING_PROVIDER_INFO_MAX,
NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1)
};
diff --git a/tools/include/uapi/linux/netdev.h b/tools/include/uapi/linux/netdev.h
index 684090732068..6c6ee183802d 100644
--- a/tools/include/uapi/linux/netdev.h
+++ b/tools/include/uapi/linux/netdev.h
@@ -87,7 +87,6 @@ enum {
};
enum {
-
__NETDEV_A_IO_URING_PROVIDER_INFO_MAX,
NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1)
};
--
pw-bot: cr
Powered by blists - more mailing lists