test suite reviews and discussions
 help / color / mirror / Atom feed
From: lihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: zhaoyan.chen@intel.com, lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side
Date: Fri, 27 Dec 2019 08:03:04 +0800	[thread overview]
Message-ID: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com> (raw)

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 <lihongx.ma@intel.com>
---
 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


             reply	other threads:[~2019-12-27  7:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27  0:03 lihong [this message]
2019-12-27  0:03 ` [dts] [PATCH V1 2/4] framework/ssh: add params to ssh scp function lihong
2020-01-02  3:23   ` Chen, Zhaoyan
2019-12-27  0:03 ` [dts] [PATCH V1 3/4] framework/config: read config value of snapshot_load_side lihong
2020-01-02  3:23   ` Chen, Zhaoyan
2019-12-27  0:03 ` [dts] [PATCH V1 4/4] framework/project_dpdk: add judge of the value about snapshot_load_side lihong
2020-01-02  3:23   ` Chen, Zhaoyan
2019-12-31  6:43 ` [dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side Chen, Zhaoyan
2020-01-02  3:28 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1577404987-1369-1-git-send-email-lihongx.ma@intel.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    --cc=zhaoyan.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).