numam-dpdk/examples
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
..
bond mk: move PMD libraries linking to applications 2017-02-10 11:03:27 +01:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
dpdk_qat examples: fix optind reset 2017-03-10 15:38:47 +01:00
ethtool mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
exception_path remove unused ring includes 2016-09-16 10:16:02 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
ip_pipeline mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
ip_reassembly lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
ipsec-secgw lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
ipv4_multicast examples: fix optind reset 2017-03-10 15:38:47 +01:00
kni remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-cat examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-crypto examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-jobstats examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-keepalive examples: fix optind reset 2017-03-10 15:38:47 +01:00
l3fwd lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
l3fwd-acl examples: fix optind reset 2017-03-10 15:38:47 +01:00
l3fwd-power examples: fix optind reset 2017-03-10 15:38:47 +01:00
l3fwd-vf examples: fix optind reset 2017-03-10 15:38:47 +01:00
link_status_interrupt examples: fix optind reset 2017-03-10 15:38:47 +01:00
load_balancer ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
multi_process ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
performance-thread ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
ptpclient examples: fix optind reset 2017-03-10 15:38:47 +01:00
qos_meter examples: fix optind reset 2017-03-10 15:38:47 +01:00
qos_sched ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
quota_watermark ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
server_node_efd ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: fix lcore initialization 2017-01-17 09:20:18 +01:00
vhost_xen log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile ring: remove watermark support 2017-03-29 22:25:34 +02:00