From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EFC0C4360C for ; Thu, 10 Oct 2019 12:40:36 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 434B4206B6 for ; Thu, 10 Oct 2019 12:40:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 434B4206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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