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 E186CA2EEB for ; Mon, 9 Sep 2019 16:03:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A9EE1C1EC; Mon, 9 Sep 2019 16:03:18 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A68231C193 for ; Mon, 9 Sep 2019 16:03:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Sep 2019 07:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,484,1559545200"; d="scan'208";a="174989695" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 09 Sep 2019 07:03:15 -0700 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 9 Sep 2019 07:03:15 -0700 Received: from hasmsx112.ger.corp.intel.com (10.184.198.40) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 9 Sep 2019 07:03:15 -0700 Received: from hasmsx107.ger.corp.intel.com ([169.254.2.239]) by HASMSX112.ger.corp.intel.com ([169.254.11.119]) with mapi id 14.03.0439.000; Mon, 9 Sep 2019 17:03:13 +0300 From: "Trybula, ArturX" To: "dev@dpdk.org" CC: "Dybkowski, AdamX" Thread-Topic: [dpdk-dev] [PATCH] app/compress-perf: fix floating point exception Thread-Index: AQHVTEMGvt61Yc/WBkSI9/3iqzpJN6cjldFg Date: Mon, 9 Sep 2019 14:03:12 +0000 Message-ID: <5B6D1C77E9D7034C93E97BD83D1D9F57172F5A22@hasmsx107.ger.corp.intel.com> References: <20190806103738.16224-1-adamx.dybkowski@intel.com> In-Reply-To: <20190806103738.16224-1-adamx.dybkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWYzNzgyMWQtNTU1OC00M2JmLWE4OWQtNjQ5NGU0ZmQwOWY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOEdGVm5FRXErWmM3MG1yaGlTaitxNXFvYkpURGJtXC8rOEZyVkd0dHBkczA4VjNRaW5NamlWUUhXOU9UR2pJSHQifQ== x-originating-ip: [10.184.70.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/compress-perf: fix floating point exception 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" This patch fixes the floating point exception that happened when the number= of cores to be used during the benchmark was zero. After the fix such situ= ation is detected, the error message is printed and the benchmark applicati= on exits. Fixes: 424dd6c8c1a8 ("app/compress-perf: add weak functions for multicore t= est") Signed-off-by: Adam Dybkowski Acked-by: Artur Trybula ---