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

From: Dragos Tatulea

Date: Thu Jun 11 2026 - 17:18:55 EST




On 11.06.26 22:18, Jakub Kicinski wrote:
> 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?
>
Sounds good. Will add it in v2.

> Also please add checking the new attr to some selftest.
Right. I added code in test_zcrx_large_chunks to check this.
I lost it on the way a couple of weeks ago and forgot about it.
Will add it back.

Thanks,
Dragos