diff options
author | Tibor Frank <tifrank@cisco.com> | 2023-05-03 13:53:27 +0000 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2023-05-09 05:56:22 +0000 |
commit | 374954b9d648f503f6783325a1266457953a998d (patch) | |
tree | 5514dee6af2a2e069189efe39d4e929dd25721f7 /docs/report/introduction/environment/tg.rst | |
parent | 46eac7bb697e8261dba5b439a15f5a6125f31760 (diff) |
C-Docs: New structure
Change-Id: I73d107f94b28b138f3350a9e1eedb0555583a9ca
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'docs/report/introduction/environment/tg.rst')
-rw-r--r-- | docs/report/introduction/environment/tg.rst | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/docs/report/introduction/environment/tg.rst b/docs/report/introduction/environment/tg.rst deleted file mode 100644 index 411af83eb5..0000000000 --- a/docs/report/introduction/environment/tg.rst +++ /dev/null @@ -1,72 +0,0 @@ -.. _test_environment_tg: - -TG Settings - TRex ------------------- - -TG Version -~~~~~~~~~~ - -|trex-release| - -DPDK Version -~~~~~~~~~~~~ - -DPDK v21.02 - -TG Installation -~~~~~~~~~~~~~~~ - -T-Rex installation is managed via Ansible role. - -TG Startup Configuration -~~~~~~~~~~~~~~~~~~~~~~~~ - -:: - - $ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml - - version: 2 - 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}] - platform : - master_thread_id: 0 - latency_thread_id: 9 - dual_if: - - socket: 0 - threads: [1, 2, 3, 4, 5, 6, 7, 8] - EOF' - -TG Startup Command (Stateless Mode) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -:: - - $ 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 Startup Command (Stateful Mode) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -:: - - $ sudo -E -S sh -c "cd '${trex_install_dir}/scripts/' && \ - nohup ./t-rex-64 -i --prefix $(hostname) --astf --hdrh --no-scapy-server \ - --mbuf-factor 32 > /tmp/trex.log 2>&1 &" > /dev/null - - -TG API Driver -~~~~~~~~~~~~~ - -`TRex driver`_ |