d49ea825bdb962ce187fb8fc181dfc92742f23c0
[csit.git] / docs / report / introduction / test_environment_tg.rst
1 TG Settings - TRex
2 ------------------
3
4 TG Version
5 ~~~~~~~~~~
6
7 |trex-release|
8
9 DPDK Version
10 ~~~~~~~~~~~~
11
12 DPDK v19.02
13
14 TG Build Script Used
15 ~~~~~~~~~~~~~~~~~~~~
16
17 `TRex installation`_
18
19 TG Startup Configuration
20 ~~~~~~~~~~~~~~~~~~~~~~~~
21
22 ::
23
24     $ cat /etc/trex_cfg.yaml
25     - version         : 2
26       interfaces      : ["0000:0d:00.0","0000:0d:00.1"]
27       port_info       :
28         - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]
29           src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
30         - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
31           src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]
32
33 TG Startup Command
34 ~~~~~~~~~~~~~~~~~~
35
36 ::
37
38     $ sh -c 'cd <t-rex-install-dir>/scripts/ && sudo nohup ./t-rex-64 -i -c 7 > /tmp/trex.log 2>&1 &'> /dev/null
39
40 TG API Driver
41 ~~~~~~~~~~~~~
42
43 `TRex driver`_