numam-dpdk/examples/server_node_efd
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
..
node ring: make bulk and burst return values consistent 2017-03-29 22:25:37 +02:00
server ring: make bulk and burst return values consistent 2017-03-29 22:25:37 +02:00
shared examples/server_node_efd: renamed from flow_distributor 2017-01-30 17:26:11 +01:00
Makefile examples/server_node_efd: renamed from flow_distributor 2017-01-30 17:26:11 +01:00