From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 81E63525F for ; Tue, 12 Dec 2023 03:18:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WT11Gvho" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C4DDC433C8; Tue, 12 Dec 2023 03:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702351080; bh=duVtBYF9/uEhtteq5lUjxhQBMmTnPleG8zmcnq1CCxU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WT11GvhoK9rwieQoiDZI3rGVQKEHcQkthKU4+grqOG6ygOej/EE5+ycmUdj+Xp/Wl ftDXugi8mrCyiQy6Tq74fJsryOZtDnwLreEd4LV/DF5CC2Yy4vGiBD2TufgJU2YzIv g0r1yffPh61kYI99RVUcRG+WvHa4O6DxO5CvkKE53uBuZ+un7QvJWPExEVjeLeTn4b NoffrD6Tvt4PRx+Lnt5KN0i9YD/JeF2u9DUKrPGNmxktNm573spvyQjt1fFSsL0+fK 2ffRHS93QFdBR4+CIPi3ytSeqo7TGMye6/euxAE0a6WuU+88ePUFhxtef+zvswJPdF 1hQFLkJk8o6Kg== Date: Mon, 11 Dec 2023 19:17:59 -0800 From: Jakub Kicinski To: Jijie Shao Cc: , , , , , , , , , Subject: Re: [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats Message-ID: <20231211191759.61764363@kernel.org> In-Reply-To: <20231211020816.69434-2-shaojijie@huawei.com> References: <20231211020816.69434-1-shaojijie@huawei.com> <20231211020816.69434-2-shaojijie@huawei.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 Mon, 11 Dec 2023 10:08:11 +0800 Jijie Shao wrote: > Add support for page_pool_get_stats, then the hns3 driver > can get page pool statistics by ethtool. Sorry, you're late to the party :( We have now added the ability to read page pool stats via netlink. The support was merged as a379972973a80924b1d03443e20f113ff76a94c7. If you use the page pools in your driver in a normal way (each page pool only used by one NAPI instance and one netdev) you should use that instead of dumping the stats into ethtool -S. -- pw-bot: cr