aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-09-29 17:05:52 +0200
committerTibor Frank <tifrank@cisco.com>2020-10-06 07:01:43 +0000
commiteebe9f3325a12496e2436aba2659c160cf77db4a (patch)
treeaef305a5cbbb70688fe87c304f2d4740e30e33a7 /docs/report
parenta692d320b140d70f21fc12e87f3fa59a23a5874f (diff)
Report: Update test_environment_tg
+ Yaml formatting as used in code. + Mentioned core_mask=STLClient.CORE_MASK_PIN - No mention of ASTF specifics. Change-Id: I653cc383f21195275a92ff233768d92b340e684e Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 0bde2421b13ca9a420e7d68c23a3ff191b665b8c)
Diffstat (limited to 'docs/report')
-rw-r--r--docs/report/introduction/test_environment_tg.rst26
1 files changed, 16 insertions, 10 deletions
diff --git a/docs/report/introduction/test_environment_tg.rst b/docs/report/introduction/test_environment_tg.rst
index 0d1f9143be..28b233a574 100644
--- a/docs/report/introduction/test_environment_tg.rst
+++ b/docs/report/introduction/test_environment_tg.rst
@@ -23,31 +23,37 @@ TG Startup Configuration
$ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
- version: 2
- c: 7
+ c: 8
limit_memory: 8192
interfaces: ["${pci1}","${pci2}"]
port_info:
- - dest_mac: [${dest_mac1}]
- src_mac: [${src_mac1}]
- - dest_mac: [${dest_mac2}]
- src_mac: [${src_mac2}]
+ - dest_mac: [${dest_mac1}]
+ src_mac: [${src_mac1}]
+ - dest_mac: [${dest_mac2}]
+ src_mac: [${src_mac2}]
platform :
master_thread_id: 0
- latency_thread_id: 8
+ latency_thread_id: 9
dual_if:
- socket: 0
- threads: [1, 2, 3, 4, 5, 6, 7]
+ threads: [1, 2, 3, 4, 5, 6, 7, 8]
EOF'
-TG Startup Command
-~~~~~~~~~~~~~~~~~~
+TG Startup Command (Stateless Mode)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
- $ sudo -E -S sh -c "cd '<t-rex-install-dir>/scripts/' && \
+ $ sudo -E -S sh -c "cd '${trex_install_dir}/scripts/' && \
nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \
--mbuf-factor 32 > /tmp/trex.log 2>&1 &" > /dev/null
+Also, Python client is now starting traffic with:
+
+::
+
+ core_mask=STLClient.CORE_MASK_PIN
+
TG API Driver
~~~~~~~~~~~~~