[PATCH v6 01/11] mempool: fix default ops for an empty mempool

Morten Brørup mb at smartsharesystems.com
Wed Aug 16 18:32:07 CEST 2023


> From: Bruce Richardson [mailto:bruce.richardson at intel.com]
> Sent: Wednesday, 16 August 2023 17.34
> 
> From: David Marchand <david.marchand at redhat.com>
> 
> An empty mempool's ops were not initialised to a default value wrt to
> what the application requested via the flags parameter.  As
> rte_mempool_create() relies on rte_mempool_create_empty(), simply move
> this ops initialisation to rte_mempool_create_empty().
> 
> Fixes: aa10457eb4c2 ("mempool: make mempool populate and free api
> public")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

I would have moved it to the exact same location.

Reviewed-by: Morten Brørup <mb at smartsharesystems.com>



More information about the stable mailing list