Unverified Commit 19a9d13a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!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: default avatarYue Haibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents b03ca0f8 ced5cc6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment