!2670 page_pool: Add support query allocation stats and recycle stats
Merge Pull Request from: @svishen This pr backport page_pool feature, which support query allocation stats and recycle stats page_pool_get_stats(): Retrieve statistics about the page_pool. This API is only available if the kernel has been configured with ``CONFIG_PAGE_POOL_STATS=y``. A pointer to a caller allocated ``struct page_pool_stats`` structure is passed to this API which is filled in. The caller can then report those stats to the user (perhaps via ethtool, debugfs, etc.). issue: https://gitee.com/openeuler/kernel/issues/I8BNYE Link:https://gitee.com/openeuler/kernel/pulls/2670 Reviewed-by:Yue Haibing <yuehaibing@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment