[dts] [patch v2] conf/pktgen.cfg : Modify the annotation sent this patch on behalf of chen hongli

wang fei feix.y.wang at intel.com
Thu Sep 21 13:35:12 CEST 2017


Signed-off-by: wang fei <feix.y.wang at intel.com>
---
 conf/pktgen.cfg | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg
index 1f3c795..779d607 100644
--- a/conf/pktgen.cfg
+++ b/conf/pktgen.cfg
@@ -1,14 +1,16 @@
-#PkTGEN configuration
-#[PKTGEN DPDK]
-# coremask -c: A hexadecimal bitmask of cores to run on
-# num -n: Number of memory channels
-# proc_type --proc-type: Type of this process
-# pci_blacklist --pci-blacklist, -b: Add a PCI device in black list. 
-# pci_whitelist --pci-whitelist, -w: Add a PCI device in white list.
-# file_prefix --file-prefix: Prefix for hugepage filenames
-# socket_memory --socket-mem: Memory to allocate on specific sockets
-# mapping_ports -m: Matrix for mapping ports to logical cores.
-# pcap_port_num -s P:file: The PCAP packet file to stream. P is the port number.
+# Packet generator configuration
+# [TREX]
+# trex_root_path: The path of trex package, e.g. /opt/trex-core-2.26
+# config_file: The configuration file of the ports used by trex 
+# server: The ip of trex server
+# pcap_file: The path of pcap file 
+# core_num: The core number.
+# core_mask: the c
+# ip_src: The source ip of packet
+# ip_dst: The destination ip of packet
+# warmup: The warm up time of trex server starting
+# duration: The duration time of transmitting packets,e.g. -1 :continuely 
+#           transmitting
 [TREX]
 trex_root_path=/opt/trex-core-2.26
 config_file=/etc/trex_cfg.yaml
@@ -19,4 +21,4 @@ core_num=4
 ip_src=16.0.0.1
 ip_dst=10.0.0.1
 warmup=15
-duration=-1
+duration=-1
\ No newline at end of file
-- 
2.7.4



More information about the dts mailing list