Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Stanislav Fomichev
Tue, 03 Nov 2026 22:42
Re: [PATCH net-next v2 2/4] netmem: store memory provider private pointer directly in struct net_iov
Author: Stanislav Fomichev
Date: Tue, 03 Nov 2026 22:42
Date: Tue, 03 Nov 2026 22:42
15 lines
11873 bytes
11873 bytes
On 11/02, Mina Almasry wrote: [..] > Resolving the memory provider instance from a struct net_iov currently > chases niov->owner (struct net_iov_area) and then dereferences the > provider-specific container struct (such as net_devmem_dmabuf_binding > or io_zcrx_area->ifq). Chasing niov->owner is true, but I don't see another dereference you're talking about? net_devmem_iov_binding does container_of to get from area to the binding (and the area is the first member of the binding, so it is a already a nop). And IIRC, iou has a similar arrangement. So I'd vote to keep things as is unless you explain what I'm missing.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads