News: 0001544648

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

IO_uring Zero Copy Receive Seeing DMA-BUF Support Slated For Linux 6.16

([Linux Networking] 6 Hours Ago DMA-BUF + io_uring zcrx)


Merged for Linux 6.15 was [1]IO_uring network zero-copy receive "io_uring zcrx" while now on track for landing in Linux 6.16 is extending it to support passing [2]DMA-BUF buffers.

Pavel Begunkov has been working on extending IO_uring zero-copy receive support to handle DMA-BUF so users can pass a DMA-BUF rather than regular user pages. DMA-BUF is the well used buffer sharing framework within the Linux kernel that in turn is used by multiple different drivers and subsystems. For opening up even more IO_uring network zero-copy receive possibilities, Linux 6.16 should handle DMA-BUF buffers with this zero-copy receive path.

Begunkov explains more as well as example code for liburing via [3]this patch series . That work is part of the [4]block / IO_uring changes being queued ahead of the Linux 6.16 merge window opening around the end of the month.



[1] https://www.phoronix.com/news/Linux-6.15-IO_uring

[2] https://www.phoronix.com/search/DMA-BUF

[3] https://lore.kernel.org/all/cover.1746097431.git.asml.silence@gmail.com/

[4] https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-next&id=a42c735833315bbe7a54243ef5453b9a7fa0c248



Kjell

Smoking is, as far as I'm concerned, the entire point of being an adult.
-- Fran Lebowitz