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

2024-10-17 Thread fengchengwen
There's a little tip that can be modified, with that modified: Acked-by: Chengwen Feng On 2024/10/17 17:58, Jie Hai wrote: > 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 par

[PATCH v3 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 parameter to a maximum of RTE_MEMPOOL_CACHE_MAX_SIZE. Signed-off-by: Jie Hai Acked-by: Huisong Li Acked-by: Morten Brørup --- examp