numam-dpdk/examples/qos_sched
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
..
app_thread.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
args.c examples/qos_sched: fix lcore limit 2016-05-16 18:49:12 +02:00
cfg_file.c examples/qos_sched: remove duplicated cfgfile library 2015-10-22 18:09:36 +02:00
cfg_file.h examples/qos_sched: remove duplicated cfgfile library 2015-10-22 18:09:36 +02:00
cmdline.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
init.c examples/qos_sched: use librte_cfgfile 2015-06-15 11:18:25 +02:00
main.c mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
main.h examples/qos_sched: fix lcore limit 2016-05-16 18:49:12 +02:00
Makefile fix unix permissions for source files 2014-08-28 17:04:01 +02:00
profile_ov.cfg remove trailing whitespaces 2014-06-11 00:29:34 +02:00
profile.cfg doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
stats.c examples: fix whitespace 2015-06-12 11:10:10 +02:00