Thread (22 messages) 22 messages, 2 authors, 2026-04-01

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help