|SUCCESS| [v3] mempool: avoid memzone name collision

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 21:09:11 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173005

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-17

Info

1. The chunk memzone prefix is now a bare string literal in rte_mempool.c, while the metadata prefix comes from a macro in rte_mempool.h:

       "MC_%s_%u", mp->name, mz_id);

   The two prefixes must stay distinct and the same length to avoid the collision this patch fixes. Keeping them side by side makes that easier to maintain. Consider a named macro next to RTE_MEMPOOL_MZ_FORMAT/RTE_MEMPOOL_MZ_PREFIX, for example a private `#define MEMPOOL_CHUNK_MZ_FORMAT "MC_%s_%u"` or a documented public one.

Review-Result: CLEAN


More information about the test-report mailing list