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 8E701A04F0; Fri, 27 Dec 2019 08:30:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F3811BFE9; Fri, 27 Dec 2019 08:30:07 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AA9401BFE9 for ; Fri, 27 Dec 2019 08:30:05 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2019 23:30:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,362,1571727600"; d="scan'208";a="243166453" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.203]) by fmsmga004.fm.intel.com with ESMTP; 26 Dec 2019 23:30:04 -0800 From: lihong To: dts@dpdk.org Cc: zhaoyan.chen@intel.com, lihong Date: Fri, 27 Dec 2019 08:03:04 +0800 Message-Id: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side 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" the params snapshot_load_side can config 'tester' or 'dut', when snapshot_load_side=tester, it will copy dpdk.tar.gz from tester, when snapshot_load_side=dut, it will copy dpdk.tar.gz from dut. the dpdk.tar.gz default on tester, and default path is dts/dep, if config snapshot_load_side=dut, should use --snapshot to specify a absolute path of dpdk.tar.gz on dut when start dts. Signed-off-by: lihong --- conf/crbs.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/crbs.cfg b/conf/crbs.cfg index 5209555..2e6c948 100644 --- a/conf/crbs.cfg +++ b/conf/crbs.cfg @@ -11,6 +11,9 @@ # channels: Board channel number # bypass_core0: Whether by pass core0 # dut_cores: DUT core list, eg: 1,2,3,4,5,18-22 +# snapshot_load_side: tester/dut, specify the dpdk.tar.gz on side +# if value is dut, should combine the params --snapshot to use. +# eg: ./dts --snapshot /root/tester/dpdk.tar.gz [DUT IP1] dut_ip=xxx.xxx.xxx.xxx dut_user=root @@ -24,6 +27,7 @@ pktgen_group= channels=4 bypass_core0=True dut_cores= +snapshot_load_side=tester [DUT IP2] dut_ip=yyy.yyy.yyy.yyy dut_user=root @@ -36,4 +40,5 @@ ixia_group= pktgen_group= channels=4 bypass_core0=True -dut_cores= \ No newline at end of file +dut_cores= +snapshot_load_side=tester -- 2.7.4