numam-dpdk/lib/librte_port
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
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_port_ethdev.c port: fix burst size mask type 2016-04-11 22:22:08 +02:00
rte_port_ethdev.h port: add ethdev writer nodrop 2015-06-18 16:37:57 +02:00
rte_port_fd.c port: support file descriptor 2016-10-13 11:42:37 +02:00
rte_port_fd.h port: support file descriptor 2016-10-13 11:42:37 +02:00
rte_port_frag.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
rte_port_frag.h port: add IPv6 fragmentation port 2015-05-18 12:26:33 +02:00
rte_port_kni.c port: support KNI 2016-06-21 18:05:45 +02:00
rte_port_kni.h port: support KNI 2016-06-21 18:05:45 +02:00
rte_port_ras.c ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
rte_port_ras.h port: add IPv6 reassembly port 2015-05-18 12:28:52 +02:00
rte_port_ring.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
rte_port_ring.h port: add ring multi reader or writer 2015-11-26 00:32:12 +01:00
rte_port_sched.c port: fix burst size mask type 2016-04-11 22:22:08 +02:00
rte_port_sched.h port: hierarchical scheduler 2014-06-17 03:34:10 +02:00
rte_port_source_sink.c port: bump ABI for pcap file support 2016-04-20 11:53:32 +02:00
rte_port_source_sink.h port: modify source and sink port structure 2016-10-12 22:25:24 +02:00
rte_port_version.map port: support file descriptor 2016-10-13 11:42:37 +02:00
rte_port.h doc: drop old naming of the project 2016-02-10 15:47:51 +01:00