numam-dpdk/lib/librte_pdump
Bruce Richardson 14fbffb0aa ring: return free space when enqueuing
Add an extra parameter to the ring enqueue burst/bulk functions so that
those functions can optionally return the amount of free space in the
ring. This information can be used by applications in a number of ways,
for instance, with single-producer queues, it provides a max
enqueue size which is guaranteed to work. It can also be used to
implement watermark functionality in apps, replacing the older
functionality with a more flexible version, which enables apps to
implement multiple watermark thresholds, rather than just one.

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:04 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pdump_version.map pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
rte_pdump.c ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
rte_pdump.h doc: add pdump library to API doxygen 2016-12-06 15:43:13 +01:00