Re: [net-next v7 2/4] page_pool: Add recycle stats
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Date: 2022-02-28 07:29:29
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Date: 2022-02-28 07:29:29
On Mon, 28 Feb 2022 at 09:20, Jesper Dangaard Brouer [off-list ref] wrote:
On 25/02/2022 18.41, Joe Damato wrote:quoted
Add per-cpu stats tracking page pool recycling events: - cached: recycling placed page in the page pool cache - cache_full: page pool cache was full - ring: page placed into the ptr ring - ring_full: page released from page pool because the ptr ring was full - released_refcnt: page released (and not recycled) because refcnt > 1 Signed-off-by: Joe Damato <redacted> --- include/net/page_pool.h | 16 ++++++++++++++++ net/core/page_pool.c | 28 +++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-)LGTM - thanks for working on this Acked-by: Jesper Dangaard Brouer <redacted>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>