From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2017 06:50:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,413,1500966000"; d="scan'208";a="1173303275" Received: from aburakov-mobl2.ger.corp.intel.com (HELO [10.237.220.104]) ([10.237.220.104]) by orsmga001.jf.intel.com with ESMTP; 18 Sep 2017 06:50:23 -0700 To: Olivier Matz , dev@dpdk.org References: <20170907122033.17983-1-olivier.matz@6wind.com> <20170907122033.17983-2-olivier.matz@6wind.com> From: "Burakov, Anatoly" Message-ID: Date: Mon, 18 Sep 2017 14:50:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170907122033.17983-2-olivier.matz@6wind.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 2/2] test/ring: do not mask result of enqueue or 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: Mon, 18 Sep 2017 13:50:43 -0000 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