Message ID | 20250215000947.789731-1-dw@davidwei.uk (mailing list archive) |
---|---|
Headers | show |
Series | io_uring zero copy rx | expand |
On Fri, 14 Feb 2025 16:09:35 -0800 David Wei wrote: > This patchset contains io_uring patches needed by a new io_uring request > implementing zero copy rx into userspace pages, eliminating a kernel to > user copy. Acked-by: Jakub Kicinski <kuba@kernel.org>
On Fri, 14 Feb 2025 16:09:35 -0800, David Wei wrote: > This patchset contains io_uring 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. > > [...] Applied, thanks! [01/11] io_uring/zcrx: add interface queue and refill queue commit: 6f377873cb23905009759b7366b9fe85c2a6ff37 [02/11] io_uring/zcrx: add io_zcrx_area commit: cf96310c5f9a0d542db99c887742811425ba2ec0 [03/11] io_uring/zcrx: grab a net device commit: 035af94b39fd13751abf5f0a2948c9eddede55d0 [04/11] io_uring/zcrx: implement zerocopy receive pp memory provider commit: 34a3e60821ab9f335a58d43a88cccdbefdebdec3 [05/11] io_uring/zcrx: dma-map area for the device commit: db070446f5af8c7a384b89367a10cddbf5498717 [06/11] io_uring/zcrx: add io_recvzc request commit: 11ed914bbf948c4a37248f2876973ac18014056d [07/11] io_uring/zcrx: set pp memory provider for an rx queue commit: e0793de24a9f610bd8ce106f7033b3966e7fca0e [08/11] io_uring/zcrx: throttle receive requests commit: 931dfae19032d13266cf1fac080cec66469a2042 [09/11] io_uring/zcrx: add copy fallback commit: bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a [10/11] net: add documentation for io_uring zcrx commit: d9ac1d5fc9510a170eb43e8c129b8e1cd5e1c3e1 [11/11] io_uring/zcrx: add selftest commit: 71082faa2c648a2adc1167b37565e195a8df1bc7 Best regards,