[PATCH v4 2/3] mempool: fix dump of unpopulated pool
Thomas Monjalon
thomas at monjalon.net
Thu Nov 19 15:08:13 CET 2026
12/11/2026 16:43, Robert Sanford:
> +* **Added function to check if a mempool is created.**
> +
> + Added the ``rte_mempool_is_created()`` function
> + to check whether the store of a mempool has been created.
> + ``rte_mempool_walk()`` callbacks can use it to skip mempools
> + that are not populated yet before querying the mempool driver.
If usage is internal, why exposing this function publicly?
[...]
> +bool rte_mempool_is_created(const struct rte_mempool *mp);
Any new API must enter in an experimental first.
But here we may not need to expose it as an API?
More information about the dev
mailing list