numam-dpdk/test/test-pipeline
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
..
config.c examples: fix optind reset 2017-03-10 15:38:47 +01:00
init.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
main.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
main.h test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
pipeline_acl.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
pipeline_hash.c ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
pipeline_lpm_ipv6.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
pipeline_lpm.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
pipeline_stub.c test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00
runtime.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00