Re: [PATCH net-next v10 05/14] net: Slightly simplify net_mp_{open,close}_rxq
From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2026-03-28 06:48:03
Also in:
bpf
From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2026-03-28 06:48:03
Also in:
bpf
On 27/03/2026 14:10, Daniel Borkmann wrote:
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 <redacted>
Signed-off-by: David Wei <redacted>
---
include/net/page_pool/memory_provider.h | 8 ++------
io_uring/zcrx.c | 9 ++++++---
net/core/devmem.c | 6 +++---
net/core/netdev_rx_queue.c | 23 ++---------------------
4 files changed, 13 insertions(+), 33 deletions(-)Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>