Re: [PATCH net-next v10 06/14] net: Proxy netif_mp_{open,close}_rxq for leased queues
From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2026-03-28 06:51:00
Also in:
bpf
From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2026-03-28 06:51:00
Also in:
bpf
On 27/03/2026 14:10, Daniel Borkmann wrote:
From: David Wei <redacted>
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 <redacted>
Co-developed-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
---
net/core/dev.h | 2 +
net/core/netdev_rx_queue.c | 93 +++++++++++++++++++++++++++++++-------
2 files changed, 78 insertions(+), 17 deletions(-)Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>