numam-dpdk/examples/performance-thread
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
..
common remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-thread ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
pthread_shim examples/performance-thread: add missing braces 2016-07-22 12:40:26 +02:00
Makefile examples/performance-thread: restrict to x86_64 2016-04-08 22:28:39 +02:00