[dts] [Patch V1] conf/pktgen.cfg : The configuration of packet generator send this patch on behalf of chen hongli

wang fei feix.y.wang at intel.com
Wed Sep 20 14:16:26 CEST 2017


Signed-off-by: wang fei <feix.y.wang at intel.com>
---
 conf/pktgen.cfg | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 conf/pktgen.cfg

diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg
new file mode 100644
index 0000000..1f3c795
--- /dev/null
+++ b/conf/pktgen.cfg
@@ -0,0 +1,22 @@
+#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.
+[TREX]
+trex_root_path=/opt/trex-core-2.26
+config_file=/etc/trex_cfg.yaml
+server=10.67.111.143
+pcap_file=/opt/trex-core-2.26/scripts/stl/sample.pcap
+core_num=4
+#core_mask=0x3
+ip_src=16.0.0.1
+ip_dst=10.0.0.1
+warmup=15
+duration=-1
-- 
2.7.4



More information about the dts mailing list