Thread (27 messages) 27 messages, 6 authors, 2025-10-02

Re: [RFC net-next v3 6/7] net: devmem: pre-read requested rx queues during bind

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-15 17:20:26
Also in: lkml

On Fri, 15 Aug 2025 14:03:47 +0300 Dragos Tatulea wrote:
Instead of reading the requested rx queues after binding the buffer,
read the rx queues in advance in a bitmap and iterate over them when
needed.

This is a preparation for fetching the DMA device for each queue.

This patch has no functional changes.
Nice!
+	rxq_bitmap = bitmap_alloc(netdev->num_rx_queues, GFP_KERNEL);
FWIW I think you can use num_real_rx_queues since we're holding
the instance lock which prevents it from changing?

But it's just bits so doesn't matter all that much.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help