From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E7A619FE for ; Wed, 20 Sep 2017 11:43:59 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2017 02:43:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,420,1500966000"; d="scan'208";a="314161311" Received: from dpdk-test47.sh.intel.com ([10.67.118.152]) by fmsmga004.fm.intel.com with ESMTP; 20 Sep 2017 02:43:57 -0700 From: wang fei To: dts@dpdk.org Cc: wang fei Date: Wed, 20 Sep 2017 20:16:26 +0800 Message-Id: <1505909786-49985-1-git-send-email-feix.y.wang@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [Patch V1] conf/pktgen.cfg : The configuration of packet generator send this patch on behalf of chen hongli X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 09:44:00 -0000 Signed-off-by: wang fei --- 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