aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-07-13 14:32:08 +0200
committerMaciek Konstantynowicz <mkonstan@cisco.com>2020-07-13 15:27:55 +0000
commitf619cc7649671f38fa23c11bf005a9acc4438bc1 (patch)
tree8d7d22fc7f6ea1c63ea2ebbcc6f18782df0fbede
parent476e0bdbfce67873008fe1b3e0cfe59f64aec6c8 (diff)
Docs: Update TRex information
The previous was describing CSIT version 3. + Stateless profile is now under GPL directory. Change-Id: I9810ca224159053386557493eaf90b4aa682710e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r--docs/report/introduction/test_environment_tg.rst18
-rw-r--r--resources/tools/presentation/conf.py2
2 files changed, 10 insertions, 10 deletions
diff --git a/docs/report/introduction/test_environment_tg.rst b/docs/report/introduction/test_environment_tg.rst
index 190c7c3f5b..0d1f9143be 100644
--- a/docs/report/introduction/test_environment_tg.rst
+++ b/docs/report/introduction/test_environment_tg.rst
@@ -23,7 +23,7 @@ TG Startup Configuration
$ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
- version: 2
- c: 15
+ c: 7
limit_memory: 8192
interfaces: ["${pci1}","${pci2}"]
port_info:
@@ -32,11 +32,11 @@ TG Startup Configuration
- dest_mac: [${dest_mac2}]
src_mac: [${src_mac2}]
platform :
- master_thread_id: 0
- latency_thread_id: 16
- dual_if:
- - socket: 0
- threads: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
+ master_thread_id: 0
+ latency_thread_id: 8
+ dual_if:
+ - socket: 0
+ threads: [1, 2, 3, 4, 5, 6, 7]
EOF'
TG Startup Command
@@ -44,9 +44,9 @@ TG Startup Command
::
- $ sh -c 'cd <t-rex-install-dir>/scripts/ && \
- sudo nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \
- > /tmp/trex.log 2>&1 &' > /dev/null
+ $ sudo -E -S sh -c "cd '<t-rex-install-dir>/scripts/' && \
+ nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \
+ --mbuf-factor 32 > /tmp/trex.log 2>&1 &" > /dev/null
TG API Driver
~~~~~~~~~~~~~
diff --git a/resources/tools/presentation/conf.py b/resources/tools/presentation/conf.py
index c36f250c17..5d8fc8ed36 100644
--- a/resources/tools/presentation/conf.py
+++ b/resources/tools/presentation/conf.py
@@ -73,7 +73,7 @@ rst_epilog = u"""
.. _pdf version of this report: https://docs.fd.io/csit/{release}/report/_static/archive/csit_{release}.{report_week}.pdf
.. _tag documentation rst file: https://git.fd.io/csit/tree/docs/tag_documentation.rst?h={release}
-.. _TRex driver: https://git.fd.io/csit/tree/resources/tools/trex/trex_stateless_profile.py?h={release}
+.. _TRex driver: https://git.fd.io/csit/tree/GPL/tools/trex/trex_stateless_profile.py?h={release}
.. _CSIT DPDK Performance Tests Documentation: https://docs.fd.io/csit/{release}/doc/tests.dpdk.perf.html
.. _CSIT VPP Performance Tests Documentation: https://docs.fd.io/csit/{release}/doc/tests.vpp.perf.html
.. _CSIT VPP Device Tests Documentation: https://docs.fd.io/csit/{release}/doc/tests.vpp.device.html