+ Yaml formatting as used in code.
+ Mentioned core_mask=STLClient.CORE_MASK_PIN
- No mention of ASTF specifics.
Change-Id: I653cc383f21195275a92ff233768d92b340e684e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
$ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
- version: 2
$ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
- version: 2
limit_memory: 8192
interfaces: ["${pci1}","${pci2}"]
port_info:
limit_memory: 8192
interfaces: ["${pci1}","${pci2}"]
port_info:
- - dest_mac: [${dest_mac1}]
- src_mac: [${src_mac1}]
- - dest_mac: [${dest_mac2}]
- src_mac: [${src_mac2}]
+ - dest_mac: [${dest_mac1}]
+ src_mac: [${src_mac1}]
+ - dest_mac: [${dest_mac2}]
+ src_mac: [${src_mac2}]
platform :
master_thread_id: 0
platform :
master_thread_id: 0
- threads: [1, 2, 3, 4, 5, 6, 7]
+ threads: [1, 2, 3, 4, 5, 6, 7, 8]
-TG Startup Command
-~~~~~~~~~~~~~~~~~~
+TG Startup Command (Stateless Mode)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- $ sudo -E -S sh -c "cd '<t-rex-install-dir>/scripts/' && \
+ $ 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
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 API Driver
~~~~~~~~~~~~~
TG API Driver
~~~~~~~~~~~~~