]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: Slightly simplify net_mp_{open,close}_rxq
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 2 Apr 2026 23:10:22 +0000 (01:10 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Apr 2026 01:21:46 +0000 (18:21 -0700)
commit1e91c98bc9a8ef8198e73151b2a118cd3748925d
treea7ab53f99a89ca8cf395234782c3fac67268ce6b
parent22fdf28f7c03d3c130103ee77382c53d293f1732
net: Slightly simplify net_mp_{open,close}_rxq

net_mp_open_rxq is currently not used in the tree as all callers are
using __net_mp_open_rxq directly, and net_mp_close_rxq is only used
once while all other locations use __net_mp_close_rxq.

Consolidate into a single API, netif_mp_{open,close}_rxq, using the
netif_ prefix to indicate that the caller is responsible for locking.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Co-developed-by: David Wei <dw@davidwei.uk>
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260402231031.447597-6-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/page_pool/memory_provider.h
io_uring/zcrx.c
net/core/devmem.c
net/core/netdev_rx_queue.c