Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 11 Dec 2023 19:17:59 -0800 | From | Jakub Kicinski <> | Subject | Re: [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats |
| |
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
| ![\](/images/icornerr.gif) |