4ec30e5e805e22af1d03e6770c739c06059e8f64
[csit.git] / docs / report / introduction / test_environment_tg.rst
1 TG Configuration - TRex
2 -----------------------
3
4 **TG Version**
5
6 |trex-release|
7
8 **DPDK version**
9
10 DPDK v17.11
11
12 **TG Build Script used**
13
14 `TRex intallation`_
15
16 **TG Startup Configuration**
17
18 ::
19
20     $ cat /etc/trex_cfg.yaml
21     - port_limit      : 2
22       version         : 2
23       interfaces      : ["0000:0d:00.0","0000:0d:00.1"]
24       port_info       :
25         - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]
26           src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
27         - dest_mac        :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf4]
28           src_mac         :   [0x3c,0xfd,0xfe,0x9c,0xee,0xf5]
29
30 **TG Startup Command**
31
32 ::
33
34     $ 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
35
36 **TG common API - pointer to driver**
37
38 `TRex driver`_