From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ring: fix return value for single dequeue function Date: Thu, 13 Apr 2017 17:13:39 +0200 Message-ID: <3562155.xy2pBMXapX@xps13> References: <20170413094256.6442-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com, zhihong.wang@intel.com To: Bruce Richardson Return-path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id E32662C6E for ; Thu, 13 Apr 2017 17:13:41 +0200 (CEST) Received: by mail-wr0-f171.google.com with SMTP id o21so37662251wrb.2 for ; Thu, 13 Apr 2017 08:13:41 -0700 (PDT) In-Reply-To: <20170413094256.6442-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Signed-off-by: Bruce Richardson Applied, thanks