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 42DE2A00BE; Wed, 29 Apr 2020 13:01:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 28FA61DA35; Wed, 29 Apr 2020 13:01:10 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 76C361DA34; Wed, 29 Apr 2020 13:01:08 +0200 (CEST) IronPort-SDR: 4RdLPJ2f8qV/UbNQTOQmviNetgMs7s93jbpBErQZ8nMxlVW2baFgnbOSCow0fIdl3umVqVr9iV BRRSyZJL8YDA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 04:01:07 -0700 IronPort-SDR: Qr65qJcOHi/8DyR291UDdzY15wVYmRIsr5Igp3MgY/5LlgP6hMDUWuwokjjov7074nr4ziMsTz +s3DLoRmG43w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,331,1583222400"; d="scan'208";a="367773449" Received: from adamdybx-mobl.ger.corp.intel.com (HELO addy-VirtualBox.ger.corp.intel.com) ([10.104.121.37]) by fmsmga001.fm.intel.com with ESMTP; 29 Apr 2020 04:01:05 -0700 From: Adam Dybkowski To: dev@dpdk.org, fiona.trahe@intel.com, akhil.goyal@nxp.com Cc: Adam Dybkowski , stable@dpdk.org Date: Wed, 29 Apr 2020 12:57:04 +0200 Message-Id: <20200429105704.14826-1-adamx.dybkowski@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] app/crypto-perf: fix display of sample test vector 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 disables displaying sample test vector contents when executing throughput and latency tests as the sample data is not used in those tests (not copied to input mbuf in order to achieve better performance). Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: stable@dpdk.org Signed-off-by: Adam Dybkowski --- app/test-crypto-perf/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 52a1860fb..7bb286ccb 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -582,7 +582,8 @@ main(int argc, char **argv) goto err; } - if (!opts.silent) + if (!opts.silent && opts.test != CPERF_TEST_TYPE_THROUGHPUT && + opts.test != CPERF_TEST_TYPE_LATENCY) show_test_vector(t_vec); total_nb_qps = nb_cryptodevs * opts.nb_qps; -- 2.17.1