[dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side

lihong lihongx.ma at intel.com
Fri Dec 27 01:03:04 CET 2019


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 at 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



More information about the dts mailing list