numam-dpdk/examples
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
..
bond
cmdline
distributor
dpdk_qat
ethtool mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
exception_path
helloworld
ip_fragmentation examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ip_pipeline examples/ip_pipeline: support KNI 2016-06-21 18:05:45 +02:00
ip_reassembly examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ipsec-secgw examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
ipv4_multicast
kni
l2fwd examples/l2fwd: increase mempool cache size for performance 2016-06-08 22:38:52 +02:00
l2fwd-cat
l2fwd-crypto crypto/kasumi: add driver for KASUMI library 2016-06-20 22:25:32 +02:00
l2fwd-ivshmem
l2fwd-jobstats examples/l2fwd-jobstats: fix a typo 2016-06-08 22:38:52 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: fix memory leak 2016-06-21 15:56:39 +02:00
l3fwd examples/l3fwd: report error when no vector engine available 2016-06-08 22:38:52 +02:00
l3fwd-acl
l3fwd-power
l3fwd-vf
link_status_interrupt
load_balancer
multi_process mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
netmap_compat
packet_ordering
performance-thread examples/performance-thread: fix size of destination port ids 2016-06-08 22:38:52 +02:00
ptpclient
qos_meter
qos_sched mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
quota_watermark examples/quota_watermark: fix memory overflow 2016-06-08 22:38:52 +02:00
rxtx_callbacks
skeleton
tep_termination vhost: add vhost-user client mode 2016-06-22 09:47:07 +02:00
timer
vhost examples/vhost: add client option 2016-06-22 09:47:12 +02:00
vhost_xen eal: fix thread naming on FreeBSD 2016-06-17 18:04:22 +02:00
vm_power_manager
vmdq
vmdq_dcb
Makefile examples/l2fwd-keepalive: add IPC liveness reporting 2016-06-16 18:27:00 +02:00