Thread (39 messages) flat view 39 messages, 6 authors, 2023-11-09

Re: [PATCH net-next 05/15] net: page_pool: record pools per netdev

From: David Ahern <dsahern@kernel.org>
Date: 2023-10-24 19:19:36

On 10/24/23 11:49 AM, Jakub Kicinski wrote:
On Tue, 24 Oct 2023 11:31:46 -0600 David Ahern wrote:
quoted
On 10/24/23 10:02 AM, Jakub Kicinski wrote:
quoted
Link the page pools with netdevs. This needs to be netns compatible
so we have two options. Either we record the pools per netns and
have to worry about moving them as the netdev gets moved.
Or we record them directly on the netdev so they move with the netdev
without any extra work.

Implement the latter option. Since pools may outlast netdev we need
a place to store orphans. In time honored tradition use loopback
for this purpose.
blackhole_netdev might be a better choice than loopback
With loopback we still keep it per netns, and still accessible 
via netlink.
and if the namespace and loopback device get deleted?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help