[dpdk-dev] [PATCH v2] mempool: rename functions with confusing names

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jun 30 14:00:16 CEST 2016


2016-06-29 17:27, Bruce Richardson:
> Fix this by introducing two new functions to replace the old ones,
> * rte_mempool_avail_count to replace rte_mempool_count
> * rte_mempool_in_use_count to replace rte_mempool_free_count

This patch needs to be rebased please.

> --- a/lib/librte_mempool/rte_mempool_version.map
> +++ b/lib/librte_mempool/rte_mempool_version.map
> @@ -32,5 +32,6 @@ DPDK_16.07 {
>  	rte_mempool_populate_virt;
>  	rte_mempool_register_ops;
>  	rte_mempool_set_ops_byname;
> +	rte_mempool_avail_count;

The "in_use_count" function is missing.
Please keep alphabetical order.


More information about the dev mailing list