From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id D75DB2BF1 for ; Fri, 23 Jun 2017 10:43:46 +0200 (CEST) Received: by mail-wr0-f179.google.com with SMTP id c11so55939027wrc.3 for ; Fri, 23 Jun 2017 01:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Hu72skYzV/Jbaf8Uqzg1U1x6HlyklsBktYh6CcbjyM0=; b=Fl+6yJziPXAw2W3/Bt/d5OFXdT8XwQuzkavzPhzePiIp2fs3/MOpKESDxGycgIKOY2 gykvSFuDw8SryEOSqMsaCPdDM8uFG9yM0xEapB2UGE458L+eM0z7C9xmi9GyWRW0fdRi /A/DYcTdIc1lAhPLh80ZAwJ3N7ZfBSnKlXlTRqg8YcwJSnliYVaF4XIdBdnWHWBtIfE2 ioDavH3mOfkPp7qu7ryWVqHiFdFXzpORXQfHFAfySOOj9IP8/g8zeU51sHjjpQgIQ/Yz gPuL9d2y+D1BaTWOZB7tPb3a5I08D1XwYx1sEjGaRK40dJfNuH+04H0pOiYsqPzQD1CE 1a+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Hu72skYzV/Jbaf8Uqzg1U1x6HlyklsBktYh6CcbjyM0=; b=NUIFIj/aPsdmYGx+RAe9kDUToQKENpwpMFAgEhxCEJ2PrtZ2k32x43eYxhtsfanQ+q inrgDpJ5zheV8MkXNhDOrjKntW+0QVNOEtHQEfhE9bJi5Hm6vkt13ITzR096+lbsQKWl u5lzM9x4rI/4kA5YYzBAqacpu2utBW4z4dlXx9Gcp7MjPi5gpwLM307t+4rNbRrBOLWa UZiARIKKJ28C1j3TfYtQi9iaP5SH0V/JsFbqRHxrzBL8NTKWPd/jwKWaWb4OnTQhLbuH bGdQC1VkhJVoTICpNt+QJ7gLnOa5FeEcNbLbACj330GeyJ4nsDwf4ucZDlUkUHHZQ3uz ZTcQ== X-Gm-Message-State: AKS2vOyzAe4PrQk6zzcouRihZcJqZNhtqILI9eBs3t954/iJAJIDq0b4 0qXpPEqzr9NHEaFtI7E= X-Received: by 10.223.164.83 with SMTP id e19mr5417367wra.101.1498207426274; Fri, 23 Jun 2017 01:43:46 -0700 (PDT) Received: from platinum (2a01cb0c03c651000226b0fffeed02fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:3c6:5100:226:b0ff:feed:2fc]) by smtp.gmail.com with ESMTPSA id p87sm6969350wma.2.2017.06.23.01.43.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jun 2017 01:43:46 -0700 (PDT) Date: Fri, 23 Jun 2017 10:43:44 +0200 From: Olivier Matz To: Anand B Jyoti Cc: dev@dpdk.org, kannan.babu.ramia@intel.com Message-ID: <20170623104344.450c35d5@platinum> In-Reply-To: <1496384991-156503-1-git-send-email-anand.b.jyoti@intel.com> References: <1496384991-156503-1-git-send-email-anand.b.jyoti@intel.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1] ring: fix return value for sc and mc dequeue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 08:43:47 -0000 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 return values consistent") > Signed-off-by: Anand B Jyoti Acked-by: Olivier Matz