+1
−3
+7
−0
+87
−17
Loading
When a process in a container wants to setup a memory provider, it will
use the virtual netdev and a leased rxq, and call netif_mp_{open,close}_rxq
to try and restart the queue. At this point, proxy the queue restart on
the real rxq in the physical netdev.
For memory providers (io_uring zero-copy rx and devmem), it causes the
real rxq in the physical netdev to be filled from a memory provider that
has DMA mapped memory from a process within a container.
Signed-off-by:
David Wei <dw@davidwei.uk>
Co-developed-by:
Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by:
Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260402231031.447597-7-daniel@iogearbox.net
Signed-off-by:
Jakub Kicinski <kuba@kernel.org>