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

Bruce Richardson bruce.richardson at intel.com
Thu Jun 30 14:08:53 CEST 2016


On Thu, Jun 30, 2016 at 02:00:16PM +0200, Thomas Monjalon wrote:
> 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.

We need a search-replace function that is smart enough to reorder things for us!


More information about the dev mailing list