From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8A53BA0679 for ; Sun, 28 Apr 2019 04:45:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D127F1B4D0; Sun, 28 Apr 2019 04:45:36 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CA6DA1B49B for ; Sun, 28 Apr 2019 04:45:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Apr 2019 19:45:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,403,1549958400"; d="scan'208";a="146438569" Received: from itecstvdts01.sh.intel.com ([10.67.111.114]) by fmsmga007.fm.intel.com with ESMTP; 27 Apr 2019 19:45:32 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Sun, 28 Apr 2019 10:48:59 +0800 Message-Id: <1556419751-41723-3-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1556419751-41723-1-git-send-email-yufengx.mo@intel.com> References: <1556419751-41723-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [next][PATCH V1 2/14] conf/pktgen: packet generator configure file definition 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" packet generator configure file definition Create a file named pktgen.cfg under conf folder to save ixia/trex configuration content. Ixia and trex configuration content can be set in different section of pktgen.cfg. Section title should be ixia/trex and it is case insensitive. Signed-off-by: yufengmx --- conf/pktgen.cfg | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg index cc3fe61..667e1e8 100644 --- a/conf/pktgen.cfg +++ b/conf/pktgen.cfg @@ -1,9 +1,13 @@ #PkTGEN configuration #[PKTGEN DPDK] +# trex_root_path: trex tar package decompression directory +# trex server binary file is under this directory. +# trex_lib_path(optional): trex stateless client libs directory, it is optional. +# If it is not set, use a default relative directory. # 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_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 @@ -12,6 +16,7 @@ # start_trex: Set to a nonempty value to start trex ourselves. [TREX] trex_root_path=/opt/trex-core-2.26 +trex_lib_path=/opt/trex/vx.xxx/automation/trex_control_plane/interactive config_file=/etc/trex_cfg.yaml server=10.67.111.143 pcap_file=/opt/trex-core-2.26/scripts/stl/sample.pcap @@ -22,3 +27,19 @@ ip_dst=10.0.0.1 warmup=15 duration=-1 #start_trex=yes + +# IXIA port Configuration +# IxiaGroup: Group name for IXIA ports +# Version : IXIA TCL server version +# IP : IXIA server IP address +# Ports : [IXIA port list] +# ixia_force100g: We need to set this to enable if we need IXIA port work in 100G mode. +[IXIA] +ixia_version=6.62 +ixia_ip=xxx.xxx.xxx.xxx +ixia_ports= + card=1,port=1; + card=1,port=2; + card=1,port=3; + card=1,port=4; +ixia_force100g=disable -- 1.9.3