Re: [PATCH net-next] netdev: expose page pool order via netlink

From: Jakub Kicinski

Date: Thu Jun 11 2026 - 16:19:22 EST


On Thu, 11 Jun 2026 19:12:32 +0300 Dragos Tatulea wrote:
> Add a new 'order' attribute to the page-pool netlink interface to expose
> the page pool's allocation order (power of 2 page count).
>
> This adds observability for the latest io_uring rx-buf-len configuration
> for high order pages for zerocopy rx.
>
> The order is added to the queue attribute instead of the nested io_uring
> attribute as it can be useful to see high order page_pools for other
> cases as well.

Memory providers have a callback to populate their own attributes
(nl_fill). Sounds like we should expose rx_buf_len over that thing
instead of exposing the order which is more of a kernel internal?

Also please add checking the new attr to some selftest.