ecaed092b6
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> |
||
---|---|---|
.. | ||
Makefile | ||
rte_cmp_arm64.h | ||
rte_cmp_x86.h | ||
rte_crc_arm64.h | ||
rte_cuckoo_hash_x86.h | ||
rte_cuckoo_hash.c | ||
rte_cuckoo_hash.h | ||
rte_fbk_hash.c | ||
rte_fbk_hash.h | ||
rte_hash_crc.h | ||
rte_hash_version.map | ||
rte_hash.h | ||
rte_jhash.h | ||
rte_thash.h |