Thread (3 messages) 3 messages, 3 authors, 3d ago

Re: [PATCH net-next] net: devmem: remove net_iov_area base_virtual

flat view

From: Mina Almasry <hidden>
Date: 2026-10-06 07:10:30
Also in: lkml

On Mon, Oct 5, 2026 at 1:18 PM Stanislav Fomichev [off-list ref] wrote:
Since commit 083e64a3af77 ("net: devmem: replace gen_pool with
freelist"), a binding has a single net_iov_area covering the whole
dma-buf, and base_virtual is always 0. Its only reader is
net_iov_virtual_addr(), where it adds nothing. io_uring zcrx never
uses it.

Drop the field and the store, and compute the dma-buf offset from the
net_iov index alone.

No functional change. From review feedback on:
https://lore.kernel.org/netdev/asPUZ8DPllHd6Yu9@devvm7509.cco0.facebook.com/ (local)

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Acked-by: Mina Almasry <redacted>

-- 
Thanks,
Mina
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help