From: wang fei <feix.y.wang@intel.com>
To: dts@dpdk.org
Cc: wang fei <feix.y.wang@intel.com>
Subject: [dts] [Patch V1] conf/pktgen.cfg : The configuration of packet generator send this patch on behalf of chen hongli
Date: Wed, 20 Sep 2017 20:16:26 +0800 [thread overview]
Message-ID: <1505909786-49985-1-git-send-email-feix.y.wang@intel.com> (raw)
Signed-off-by: wang fei <feix.y.wang@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
reply other threads:[~2017-09-20 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505909786-49985-1-git-send-email-feix.y.wang@intel.com \
--to=feix.y.wang@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).