On Tue, 8 Mar 2022 22:24:02 +0800 Gaoxiang Liu <[email protected]> wrote:
> + cache_size = RTE_MEMPOOL_CACHE_MAX_SIZE >= 32 ?
> + 32 : RTE_MEMPOOL_CACHE_MAX_SIZE;
No need to open code a min().
cache_size = RTE_MIN(RTE_MEMPOOL_CACHE_SIZE, 32);

