[dpdk-dev] [PATCH] ring: Fix return type in enqueue and dequeue burst functions

2014-12-17 Thread Thomas Monjalon
> > Enqueue and dequeue burst functions always return a positive > > value (including 0), so return type should be unsigned, > > instead of int. > > > > Fixed also API doc for one of the functions. > > > > Signed-off-by: Pablo de Lara > > Acked-by: Olivier Matz Applied Thanks -- Thomas

[dpdk-dev] [PATCH] ring: Fix return type in enqueue and dequeue burst functions

2014-12-16 Thread Olivier MATZ
Hi Pablo, On 12/15/2014 02:41 PM, Pablo de Lara wrote: > Enqueue and dequeue burst functions always return a positive > value (including 0), so return type should be unsigned, > instead of int. > > Fixed also API doc for one of the functions. > > Signed-off-by: Pablo de Lara Acked-by: Olivier

[dpdk-dev] [PATCH] ring: Fix return type in enqueue and dequeue burst functions

2014-12-15 Thread Pablo de Lara
Enqueue and dequeue burst functions always return a positive value (including 0), so return type should be unsigned, instead of int. Fixed also API doc for one of the functions. Signed-off-by: Pablo de Lara --- lib/librte_ring/rte_ring.h | 14 +++--- 1 files changed, 7 insertions(+),