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
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") Cc: [email protected] Signed-off-by: David Marchand <[email protected]> Reviewed-by: Bruce Richardson <[email protected]> Reviewed-by: Morten Brørup <[email protected]>
- Loading branch information