RE: [PATCH 16/16] mempool: annotate mempool create

2024-09-28 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 27 September 2024 22.46 > > Use rte_alloc_function annotation to catch mismatch errors > on memzone handling. > > Signed-off-by: Stephen Hemminger > --- Note for other reviewers: rte_mempool_free() was intentionally m

[PATCH 16/16] mempool: annotate mempool create

2024-09-27 Thread Stephen Hemminger
Use rte_alloc_function annotation to catch mismatch errors on memzone handling. Signed-off-by: Stephen Hemminger --- lib/mempool/rte_mempool.h | 41 +-- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte