Go to file
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
app mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
config net/mlx5: remove inline Tx support 2016-06-27 16:17:52 +02:00
doc mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
drivers mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
examples mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
lib mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
mk net/thunderx: add PMD skeleton 2016-06-20 17:21:54 +02:00
pkg version: 16.04 2016-04-11 23:56:34 +02:00
scripts scripts: enable qede in build test 2016-06-29 13:33:01 +02:00
tools tools: allow binding to other network class devices 2016-05-19 12:24:18 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS doc: add ThunderX nicvf 2016-06-20 17:21:55 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org