numam-dpdk/lib/librte_hash
Bruce Richardson ecaed092b6 ring: return remaining entry count when dequeuing
Add an extra parameter to the ring dequeue burst/bulk functions so that
those functions can optionally return the amount of remaining objs in the
ring. This information can be used by applications in a number of ways,
for instance, with single-consumer queues, it provides a max
dequeue size which is guaranteed to work.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-03-29 22:32:20 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_cmp_arm64.h hash: replace libc memcmp with optimized functions for arm64 2015-11-25 22:11:37 +01:00
rte_cmp_x86.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rte_crc_arm64.h hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
rte_cuckoo_hash_x86.h hash: fix bucket size usage 2016-10-12 18:40:52 +02:00
rte_cuckoo_hash.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
rte_cuckoo_hash.h hash: fix unlimited cuckoo path 2016-10-12 18:40:51 +02:00
rte_fbk_hash.c hash: fix allocation of an existing object 2016-04-06 17:30:48 +02:00
rte_fbk_hash.h lib: use C99 syntax for zero-size arrays 2016-09-13 15:35:28 +02:00
rte_hash_crc.h hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
rte_hash_version.map hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
rte_hash.h hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
rte_jhash.h hash: fix header for C++ 2016-02-21 11:47:57 +01:00
rte_thash.h lib: work around unnamed structs/unions 2016-09-13 15:35:28 +02:00