numam-dpdk/doc/guides/sample_app_ug
Bruce Richardson cfa7c9e6fc ring: make bulk and burst return values consistent
The bulk fns for rings returns 0 for all elements enqueued and negative
for no space. Change that to make them consistent with the burst functions
in returning the number of elements enqueued/dequeued, i.e. 0 or N.
This change also allows the return value from enq/deq to be used directly
without a branch for error checking.

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:25:37 +02:00
..
img doc: update distributor app guide for new burst API 2017-03-29 16:46:58 +02:00
cmd_line.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
dist_app.rst doc: update distributor app guide for new burst API 2017-03-29 16:46:58 +02:00
ethtool.rst doc: fix typo in sample app guide 2016-12-20 14:12:30 +01:00
exception_path.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
hello_world.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
index.rst examples/server_node_efd: renamed from flow_distributor 2017-01-30 17:26:11 +01:00
intel_quickassist.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
intro.rst doc: remove Intel references from sample apps guide 2014-12-19 23:30:26 +01:00
ip_frag.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
ip_pipeline.rst doc: fix sphinx highlighting warnings 2016-07-22 19:59:54 +02:00
ip_reassembly.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
ipsec_secgw.rst examples/ipsec-secgw: add AES-CTR 2016-10-08 17:54:38 +02:00
ipv4_multicast.rst mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
keep_alive.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
kernel_nic_interface.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
l2_forward_cat.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
l2_forward_crypto.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
l2_forward_job_stats.rst mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
l2_forward_real_virtual.rst mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
l3_forward_access_ctrl.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
l3_forward_power_man.rst doc: fix references in sample apps guide 2016-03-07 21:42:57 +01:00
l3_forward_virtual.rst doc: simplify l3fwd example guide 2017-01-17 17:04:47 +01:00
l3_forward.rst doc: simplify l3fwd example guide 2017-01-17 17:04:47 +01:00
link_status_intr.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
load_balancer.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
multi_process.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
netmap_compatibility.rst doc: fix examples in netmap compatibility guide 2015-12-07 04:57:16 +01:00
packet_ordering.rst doc: fix spellings and typos 2015-04-29 18:34:58 +02:00
performance_thread.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
ptpclient.rst mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
qos_metering.rst doc: refactor table numbers into references 2015-05-25 15:59:36 +02:00
qos_scheduler.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
quota_watermark.rst mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
rxtx_callbacks.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
server_node_efd.rst ring: make bulk and burst return values consistent 2017-03-29 22:25:37 +02:00
skeleton.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
tep_termination.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
test_pipeline.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
timer.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
vhost.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
vm_power_management.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
vmdq_dcb_forwarding.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00