Thread (23 messages) 23 messages, 5 authors, 2025-07-11

Re: [RFC net-next 1/4] net: Allow non parent devices to be used for ZC DMA

From: Pavel Begunkov <asml.silence@gmail.com>
Date: 2025-07-08 10:46:21
Also in: lkml

On 7/7/25 22:55, Mina Almasry wrote:
On Mon, Jul 7, 2025 at 2:35 PM Dragos Tatulea [off-list ref] wrote:
...>> Right. My patches show that. But the issue raised by Parav is different:
quoted
different queues can belong to different DMA devices from different
PFs in the case of Multi PF netdev.

io_uring can do it because it maps individual buffers to individual
queues. So it would be trivial to get the DMA device of each queue through
a new queue op.
Right, devmem doesn't stop you from mapping individual buffers to
individual queues. It just also supports mapping the same buffer to
multiple queues. AFAIR, io_uring also supports mapping a single buffer
to multiple queues, but I could easily be very wrong about that. It's
It doesn't, but it could benefit from sharing depending on userspace,
so it might eventually come to the same problem.

-- 
Pavel Begunkov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help