Re: [dpdk-dev] [PATCH v1] ring: fix return value for sc and mc dequeue

2017-06-23 Thread Thomas Monjalon
23/06/2017 10:43, Olivier Matz: > Hi Anand, > > On Fri, 2 Jun 2017 11:59:51 +0530, Anand B Jyoti > wrote: > > The error return code for rte_ring_sc_dequeue_bulk() and > > rte_ring_mc_dequeue_bulk() function should be -ENOENT rather > > than -ENOBUFS as described in the function description. >

Re: [dpdk-dev] [PATCH v1] ring: fix return value for sc and mc dequeue

2017-06-23 Thread Olivier Matz
Hi Anand, On Fri, 2 Jun 2017 11:59:51 +0530, Anand B Jyoti wrote: > The error return code for rte_ring_sc_dequeue_bulk() and > rte_ring_mc_dequeue_bulk() function should be -ENOENT rather > than -ENOBUFS as described in the function description. Fixes: cfa7c9e6fc1f ("ring: make bulk and burst

[dpdk-dev] [PATCH v1] ring: fix return value for sc and mc dequeue

2017-06-02 Thread Anand B Jyoti
The error return code for rte_ring_sc_dequeue_bulk() and rte_ring_mc_dequeue_bulk() function should be -ENOENT rather than -ENOBUFS as described in the function description. Signed-off-by: Anand B Jyoti --- lib/librte_ring/rte_ring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif