]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xsk: Proxy pool management for leased queues
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 15 Jan 2026 08:25:55 +0000 (09:25 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jan 2026 10:58:50 +0000 (11:58 +0100)
commit0073d2fd679d2219c2a123f79d6a2a6933a88ae0
tree70e2975d39b4c707bbf940da1110d135993be153
parent1ecea95dd3b524e36b344dc41895ba5051653925
xsk: Proxy pool management for leased queues

Similarly to the net_mp_{open,close}_rxq handling for leased queues, proxy
the xsk_{reg,clear}_pool_at_qid via netif_get_rx_queue_lease_locked such
that in case a virtual netdev picked a leased rxq, the request gets through
to the real rxq in the physical netdev. The proxying is only relevant for
queue_id < dev->real_num_rx_queues since right now its only supported for
rxqs.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Co-developed-by: David Wei <dw@davidwei.uk>
Signed-off-by: David Wei <dw@davidwei.uk>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260115082603.219152-9-daniel@iogearbox.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/xdp/xsk.c