From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA5C0A3160 for ; Thu, 10 Oct 2019 14:40:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 411C11E95C; Thu, 10 Oct 2019 14:40:35 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E846C1E959 for ; Thu, 10 Oct 2019 14:40:33 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2019 05:40:32 -0700 X-IronPort-AV: E=Sophos;i="5.67,280,1566889200"; d="scan'208";a="223946123" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.95]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2019 05:40:31 -0700 Date: Thu, 10 Oct 2019 13:40:28 +0100 From: Bruce Richardson To: Ciara Power Cc: dev@dpdk.org Message-ID: <20191010124028.GA1080@bricha3-MOBL.ger.corp.intel.com> References: <20191010123603.58007-1-ciara.power@intel.com> <20191010123603.58007-3-ciara.power@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191010123603.58007-3-ciara.power@intel.com> User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH 2/2] raw/ioat: fix initial ring size check 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Oct 10, 2019 at 01:36:03PM +0100, Ciara Power wrote: > When running the ioat_rawdev_autotest, the ring size was initially required > to be 0. This prevented the test being run multiple times, as the ring size > is modified to a non-zero value when running the first test. > > A global variable is now used to track the expected ring size, and is used > in the initial value check. This enables the test to be run more than > once. > > Fixes: 849470d522ed ("raw/ioat: add configure, start and stop functions") > Cc: bruce.richardson@intel.com > > Reported-by: Yinan Wang > Signed-off-by: Ciara Power Acked-by: Bruce Richardson