numam-dpdk/doc/guides/rel_notes
Bruce Richardson a0fd91cefc mempool: rename functions with confusing names
The mempool_count and mempool_free_count behaved contrary to what their
names suggested. The free_count function actually returned the number of
elements that were allocated from the pool, not the number unallocated as
the name implied.

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

In this patch, the new functions are added, and the old ones are marked
as deprecated. All apps and examples that use the old functions are
updated to use the new functions.

Fixes: af75078fec ("first public release")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2016-07-01 12:35:57 +02:00
..
deprecation.rst mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
index.rst doc: add template release notes for 16.07 2016-04-14 10:00:48 +02:00
known_issues.rst net/i40e: fix link management 2016-06-15 17:13:55 +02:00
rel_description.rst doc: simplify release notes cover 2015-08-12 09:15:27 +02:00
release_1_8.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
release_2_0.rst doc: add missing release notes for mlx4 availability in 2.0 2015-08-17 19:35:37 +02:00
release_2_1.rst doc: add mlx4 release notes for version 2.1 2015-08-17 19:35:37 +02:00
release_2_2.rst doc: add statistics fixes in release notes 2015-12-15 13:50:42 +01:00
release_16_04.rst doc: remove residual template from release notes 2016-04-11 23:56:34 +02:00
release_16_07.rst mempool: allow user-owned cache 2016-06-30 11:28:10 +02:00
supported_os.rst doc: restructure release notes 2015-08-11 17:28:13 +02:00