Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool: fix default ops for an empty mempool
[ upstream commit c2c6b2f413051b022488518d040508b9ea6e0130 ] 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: aa10457 ("mempool: make mempool populate and free api public") Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
- Loading branch information