Re: [PATCH] mempool: add object usage counts for the telemetry api

2023-02-05 Thread Thomas Monjalon
15/11/2022 17:28, Morten Brørup: > +CC mempool maintainers > > > From: Robin Jarry [mailto:rja...@redhat.com] > > Sent: Tuesday, 15 November 2022 16.36 > > > > rte_mempool_dump() already returns the number of objects available and > > in the cache. This information is missing from the telemetry A

RE: [PATCH] mempool: add object usage counts for the telemetry api

2022-11-15 Thread Morten Brørup
+CC mempool maintainers > From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Tuesday, 15 November 2022 16.36 > > rte_mempool_dump() already returns the number of objects available and > in the cache. This information is missing from the telemetry API. Add > it > albeit with less granularity for

[PATCH] mempool: add object usage counts for the telemetry api

2022-11-15 Thread Robin Jarry
rte_mempool_dump() already returns the number of objects available and in the cache. This information is missing from the telemetry API. Add it albeit with less granularity for cached counts (only report the total_cache_count). Signed-off-by: Robin Jarry --- lib/mempool/rte_mempool.c | 13 ++