From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH 2/2] test/ring: do not mask result of enqueue or dequeue Date: Mon, 18 Sep 2017 14:50:19 +0100 Message-ID: References: <20170907122033.17983-1-olivier.matz@6wind.com> <20170907122033.17983-2-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Olivier Matz , dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 35C1B199A9 for ; Mon, 18 Sep 2017 15:50:43 +0200 (CEST) In-Reply-To: <20170907122033.17983-2-olivier.matz@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 07-Sep-17 1:20 PM, Olivier Matz wrote: > The define RTE_RING_SZ_MASK is the maximum size supported by the > rte_ring. The size is checked at ring creation. > > There is no reason today to mask the result of > rte_ring_sp_enqueue_burst() or rte_ring_sc_dequeue_burst() with this > value. The flag RTE_RING_QUOT_EXCEED was previously included in the > returned value but it was removed in > commit 77dd3064270c ("ring: remove watermark support"). > > Signed-off-by: Olivier Matz > --- Reviewed-by: Anatoly Burakov