ring: fix return type in enqueue and dequeue burst functions
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 15 Dec 2014 13:41:46 +0000 (13:41 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 16 Dec 2014 23:40:37 +0000 (00:40 +0100)
commitb443307ad3c5cff2957c00338eaf3239261801f1
tree738fdb70795a99e72d714d31dad505c3d2c5c1ee
parentca68c8190f6f1d81e473280f854961fd074ad1f7
ring: fix return type in enqueue and dequeue burst functions

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 <pablo.de.lara.guarch@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_ring/rte_ring.h