Re: [PATCH v2 2/2] examples/l3fwd: add option to set mbuf cache size

2024-10-17 Thread lihuisong (C)
lgtm, Acked-by: Huisong Li 在 2024/10/17 16:58, Jie Hai 写道: The mempool cache size of mbuf is set to RTE_MEMPOOL_CACHE_MAX_SIZE as default. This patch allows users to configure the cache size by "--mbcache", and limits the paramater to a maximum of RTE_MEMPOOL_CACHE_MAX_SIZE. Signed-off-by: Jie

[PATCH v2 2/2] examples/l3fwd: add option to set mbuf cache size

2024-10-17 Thread Jie Hai
The mempool cache size of mbuf is set to RTE_MEMPOOL_CACHE_MAX_SIZE as default. This patch allows users to configure the cache size by "--mbcache", and limits the paramater to a maximum of RTE_MEMPOOL_CACHE_MAX_SIZE. Signed-off-by: Jie Hai --- examples/l3fwd/l3fwd.h | 1 + examples/l3fwd/main.c