aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/introduction/test_environment_tg.rst
blob: 38dfb9007006c74c4b4a21638551f42c684051d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
TG Settings - TRex
------------------

TG Version
~~~~~~~~~~

|trex-release|

DPDK Version
~~~~~~~~~~~~

DPDK v19.05

TG Build Script Used
~~~~~~~~~~~~~~~~~~~~

`TRex installation`_

TG Startup Configuration
~~~~~~~~~~~~~~~~~~~~~~~~

::

    $ cat /etc/trex_cfg.yaml
    - version         : 2
      interfaces      : ["0000:0d:00.0","0000:0d:00.1"]
      port_info       :
        - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]
          src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
        - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
          src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]

TG Startup Command
~~~~~~~~~~~~~~~~~~

::

    $ sh -c 'cd <t-rex-install-dir>/scripts/ && sudo nohup ./t-rex-64 -i -c 7 --prefix $(hostname) --hdrh > /tmp/trex.log 2>&1 &'> /dev/null

TG API Driver
~~~~~~~~~~~~~

`TRex driver`_