[dpdk-dev] [PATCH] ring: fix return value for single dequeue function
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Apr 13 17:13:39 CEST 2017
2017-04-13 10:42, Bruce Richardson:
> The error return code for rte_ring_dequeue() function should be -ENOENT
> rather than -ENOBUFS (which is the error value from the enqueue() fn).
>
> Fixes: cfa7c9e6fc1f ("ring: make bulk and burst return values consistent")
>
> Reported-by: Zhihong Wang <zhihong.wang at intel.com>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks
More information about the dev
mailing list