From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DBDB4A04E0; Fri, 29 Nov 2019 10:01:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D037523D; Fri, 29 Nov 2019 10:01:58 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7A1641F5 for ; Fri, 29 Nov 2019 10:01:54 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2019 01:01:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,256,1571727600"; d="scan'208";a="384029966" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by orsmga005.jf.intel.com with ESMTP; 29 Nov 2019 01:01:20 -0800 From: yufengmx To: dts@dpdk.org, yinan.wang@intel.com, lihongx.ma@intel.com Cc: yufengmx Date: Fri, 29 Nov 2019 17:03:11 +0800 Message-Id: <20191129090315.60124-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191129090315.60124-1-yufengx.mo@intel.com> References: <20191129090315.60124-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V3 1/5] conf/pktgen: remove un-used optons 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" *. remove core_num, it is not used by pktgen. *. remove warmup key, set it in suite script. *. remove duration key, set it in suite script. *. remove ip_src key, set it in suite script. *. remove ip_dst key, set it in suite script. *. add more core_mask setting option. Signed-off-by: yufengmx --- conf/pktgen.cfg | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg index 667e1e8..e111459 100644 --- a/conf/pktgen.cfg +++ b/conf/pktgen.cfg @@ -4,7 +4,14 @@ # 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 +# coremask: +# 1. a list of masks (one core mask per port), sort sequence as +# , +# example: core_mask=0x3,0x5 +# 2. CORE_MASK_PIN +# for each dual ports (a group that shares the same cores), the cores will +# be divided half pinned for each port. +# example: core_mask=CORE_MASK_PIN # 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. @@ -20,13 +27,8 @@ 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 -core_num=4 -#core_mask=0x3 -ip_src=16.0.0.1 -ip_dst=10.0.0.1 -warmup=15 -duration=-1 -#start_trex=yes +core_mask=0x3,0x5 +start_trex=yes # IXIA port Configuration # IxiaGroup: Group name for IXIA ports -- 2.21.0