From patchwork Fri Oct 23 23:43:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 82049 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5F31A04B0; Sat, 24 Oct 2020 01:45:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E96C72F7; Sat, 24 Oct 2020 01:43:34 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3137A6A68 for ; Sat, 24 Oct 2020 01:43:18 +0200 (CEST) IronPort-SDR: 16BXEDLbXKDOJbcVR5uHQFGMnv397IPF/kojLit7YmAKX8Dv6hsSTKCmT3u+RRMViDtKKiLHlI SH25IwmnKlWg== X-IronPort-AV: E=McAfee;i="6000,8403,9783"; a="164248938" X-IronPort-AV: E=Sophos;i="5.77,410,1596524400"; d="scan'208";a="164248938" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 16:43:13 -0700 IronPort-SDR: eHEEtbWylSm6e4bqJSghM5o9ZuA+so/aki2AcPYC9NHA9rv4YQm9p9L7uW5SG4+c0/GOlEwdcE CGHNI3FPJD0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,410,1596524400"; d="scan'208";a="467246409" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga004.jf.intel.com with ESMTP; 23 Oct 2020 16:43:12 -0700 From: Nicolas Chautru To: dev@dpdk.org, akhil.goyal@nxp.com, trix@redhat.com Cc: david.marchand@redhat.com, Nicolas Chautru Date: Fri, 23 Oct 2020 16:43:00 -0700 Message-Id: <1603496581-35966-7-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1603496581-35966-1-git-send-email-nicolas.chautru@intel.com> References: <1603496581-35966-1-git-send-email-nicolas.chautru@intel.com> Subject: [dpdk-dev] [PATCH v5 6/7] app/bbdev: reduce duration of throughput test 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" Reducing number of repetitions from 1000 to 100 to save time. Results are accurate enough with 100 loops. Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao Reviewed-by: Tom Rix --- app/test-bbdev/test_bbdev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index a15ea69..b5dc536 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -24,7 +24,7 @@ #define GET_SOCKET(socket_id) (((socket_id) == SOCKET_ID_ANY) ? 0 : (socket_id)) #define MAX_QUEUES RTE_MAX_LCORE -#define TEST_REPETITIONS 1000 +#define TEST_REPETITIONS 100 #define WAIT_OFFLOAD_US 1000 #ifdef RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC