aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/introduction/test_environment_tg.rst
blob: dd97bbf909579cafee409884d69964f6f47a5940 (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
44
TG Settings - TRex
------------------

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

|trex-release|

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

DPDK v17.11

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

`TRex intallation`_

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

::

    $ cat /etc/trex_cfg.yaml
    - port_limit      : 2
      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 --iom 0 > /tmp/trex.log 2>&1 &'> /dev/null

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

`TRex driver`_