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 4C5CBA051A; Fri, 17 Jan 2020 04:11:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3CBCE1D56C; Fri, 17 Jan 2020 04:11:44 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 9DA011D535 for ; Fri, 17 Jan 2020 04:11:42 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 19:11:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,328,1574150400"; d="scan'208";a="214334504" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by orsmga007.jf.intel.com with ESMTP; 16 Jan 2020 19:11:41 -0800 From: yufengmx To: dts@dpdk.org, lijuan.tu@intel.com Cc: yufengmx Date: Fri, 17 Jan 2020 11:14:21 +0800 Message-Id: <20200117031422.57717-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200117031422.57717-1-yufengx.mo@intel.com> References: <20200117031422.57717-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V2 1/2] conf/l3fwd: support set test ports in cfg file X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" add a key to select custom dut ports to run testing. If not set this key in cfg file, use default dut port list of dts framework. Signed-off-by: yufengmx --- conf/l3fwd.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/l3fwd.cfg b/conf/l3fwd.cfg index e566aff..a8a9af4 100644 --- a/conf/l3fwd.cfg +++ b/conf/l3fwd.cfg @@ -1,6 +1,9 @@ # Throughput numbers vary in different environment. # Users could change these configuration on demand: # +# - port_list defines which ports are used to run testing If not set this key, +# use default dut port list of dts framework. +# port_list=[1,2,...] # - test_parameters defines the combination of frame size and descriptor # numbers, and the pattern is # { @@ -52,6 +55,7 @@ [suite] update_expected = True +port_list=None test_duration = 12 accepted_tolerance = 1 test_parameters = { -- 2.21.0