From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E8EAC46CA3 for ; Wed, 29 Nov 2023 14:29:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234481AbjK2O3U (ORCPT ); Wed, 29 Nov 2023 09:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234343AbjK2O3L (ORCPT ); Wed, 29 Nov 2023 09:29:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30004D50 for ; Wed, 29 Nov 2023 06:29:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 382C7C433C9; Wed, 29 Nov 2023 14:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701268155; bh=TeXzHb7rxKXQGXucrw/Ty/eqYEy5dqm0uu/JKO7RDCs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=i3O7voHEX9nwvQnJXx+x/l0uWqkVQvdAG5q4p3bznL6GqphqcrWs3xFHrQ8QI/oPi lNmWjgwa9JSdXyIuoBuXqerZJuECGpkCKl+ZH+M4+4WdrDS6HtsTg176EV4ShNUCW5 74vO/32ri773Hg8T1+F7X62xkD1hHHTvOHaVEMEz+B5Pu2Lc94AamDXFejMn5DgGVK 74kTTH2DyszHJFugM9TQ9/a5NIFzY+8wnrbrtwAXkgCspTtViqeF+Mf1HxL2Bs4rzi K1XKEAxa6HRKtIqP31DRapZ0z0qUqTCdIRHAVe/eJoY6N8ZxHzb/zX810zld/zkWC3 feN0/SCLMbyRw== Date: Wed, 29 Nov 2023 06:29:14 -0800 From: Jakub Kicinski To: Alexander Lobakin Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Maciej Fijalkowski , Michal Kubiak , Larysa Zaremba , Alexander Duyck , Yunsheng Lin , "David Christensen" , Jesper Dangaard Brouer , Ilias Apalodimas , "Paul Menzel" , , , Subject: Re: [PATCH net-next v5 13/14] libie: add per-queue Page Pool stats Message-ID: <20231129062914.0f895d1c@kernel.org> In-Reply-To: References: <20231124154732.1623518-1-aleksander.lobakin@intel.com> <20231124154732.1623518-14-aleksander.lobakin@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Nov 2023 14:40:33 +0100 Alexander Lobakin wrote: > > Expand the libie generic per-queue stats with the generic Page Pool > > stats provided by the API itself, when CONFIG_PAGE_POOL_STATS is > > enabled. When it's not, there'll be no such fields in the stats > > structure, so no space wasted. > > Do I get it correctly that after Page Pool Netlink introspection was > merged, this commit makes no sense and we shouln't add PP stats to the > drivers private ones? Yes, 100%. FWIW I am aware that better tooling would be good so non-developers could access to the PP Netlink :( I'm thinking we should clean up YNL lib packaging a little and try to convince iproute2 maintainers to accept simple CLI built on top of it.