|SUCCESS| [v3] mempool: avoid memzone name collision
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 17 21:01:12 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 a bare string literal next to an existing named format macro.
"MC_%s_%u", mp->name, mz_id);
The metadata name still comes from `RTE_MEMPOOL_MZ_FORMAT`, but the chunk name is now an inline literal. The name-length budget depends on both prefixes being the same length (3 chars), so a future change to one could silently break that.
Consider defining a local macro (e.g. `MEMPOOL_CHUNK_MZ_FORMAT "MC_%s_%u"`) in `rte_mempool.c`, next to the existing format usage. That documents the intent and keeps the two prefixes visibly paired.
2. Chunk memzone names change from `MP_<name>_<id>` to `MC_<name>_<id>`, which shows up in `rte_memzone_dump()` and telemetry memzone listings.
This is not an API break, but tools or scripts that match on the `MP_` prefix to account for mempool memory will stop seeing the backing chunks.
A one-line mention in the release notes would help such users.
Review-Result: CLEAN
More information about the test-report
mailing list