From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93A352DA74C; Thu, 11 Jun 2026 20:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781209131; cv=none; b=ZZscX8IwCQ/KJJIQEPcmANGfaohsN6tp2AlGZksuOPMmxbh8OLthWlwzkvlrNzIMNVgR1GJNGRdhkGdm0TqkBN6WFP6DxrdNMxtViWVwitr+J4cFMOoDw8949XZiBSJu6VTTT0tQ7770232txg3SeL1j6ZGu68TUPb9FZhtGzk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781209131; c=relaxed/simple; bh=Dq2Ox2wnsAmZHVyt3pD94kGXzxsQXCuhRbSU9JesZe0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bP7ewhkcxqAam6yoDpAeKnOBAwR4gcvj24PiG+gBRLIPS7Pdole8fYr/WyqzhtvlXU1mu9k3iycr69eVFmsPkQKYKMH139kfIY1BuH6qZELH9WV2CFM/WrgAWgMR5ilwvAtfzcZDXA90dNNXELTdcjWCVnTaSZJCZqD0Tkk3SUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PxKIDkX/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PxKIDkX/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D210F1F000E9; Thu, 11 Jun 2026 20:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781209130; bh=DX/8LA1EduAKxuqywHsX5/yxuag/XH71gJLKzaNjNwg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=PxKIDkX/Ekpff4361dEIEgDKeXN4QHqjZ/yUwEGX5q7A99r10RpzmlVT8KZ41Ky9T yvhVs0s44s0Xo3gMhYyVyaBpRBYEVoB/yij9OLfcYFBa9lkfMqTAgEA3ei56S959IO MXqe+G+cfMAAm2rfSkI2nGsdDXF2Q4EeZ4IExUJGseFn2aZ6HSxFSbOH7GiQeRv6vR dXtJRMmrEdq8AZspE5oAHBckdnwKVd2IVGrXYVIl4E4nAt7zHTbGFTI8C2EvBS7zab IaOZwsyBQJ+oaHHJFRzWrxVRnEPS6TtX7VgLoP8Uzn1kr3TTqitIAEmQWEsZdM9Je4 OvLaXuKBxnzkQ== Date: Thu, 11 Jun 2026 13:18:49 -0700 From: Jakub Kicinski To: Dragos Tatulea Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Donald Hunter , Andrew Lunn , Yael Chemla , Tariq Toukan , , Subject: Re: [PATCH net-next] netdev: expose page pool order via netlink Message-ID: <20260611131849.43870ac5@kernel.org> In-Reply-To: <20260611161235.3807332-1-dtatulea@nvidia.com> References: <20260611161235.3807332-1-dtatulea@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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.