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 2BD8CA00E6 for ; Tue, 6 Aug 2019 04:41:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 513561B9D6; Tue, 6 Aug 2019 04:41:41 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D83111B995 for ; Tue, 6 Aug 2019 04:41:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Aug 2019 19:41:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,352,1559545200"; d="scan'208";a="257897178" Received: from dpdk-moyufen01.sh.intel.com ([10.67.111.77]) by orsmga001.jf.intel.com with ESMTP; 05 Aug 2019 19:41:38 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Tue, 6 Aug 2019 10:42:31 +0800 Message-Id: <1565059352-215395-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1565059352-215395-1-git-send-email-yufengx.mo@intel.com> References: <1565059352-215395-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [PATCH V1 1/2] [next]conf/pktgen: update option description 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" *. change core mask to list format in pktgen.cfg and add description for core mask. *. add synchronized option and its description in pktgen.cfg. Signed-off-by: yufengmx --- conf/pktgen.cfg | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg index 667e1e8..90cf670 100644 --- a/conf/pktgen.cfg +++ b/conf/pktgen.cfg @@ -4,7 +4,19 @@ # 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: +# a list of masks (one core mask per port) +# 0x3,0x5 +# synchronized: +# If coremask and synchronized are not set or None, trex will set core mask +# to: +# CORE_MASK_SPLIT +# In CORE_MASK_SPLIT all the traffic will be divided equally between all +# the cores, associated with each port +# If coremask is not set and synchronized is set to True, trex will set core +# mask to: +# CORE_MASK_SINGLE + Only use one core for all ports # 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. @@ -21,7 +33,7 @@ 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 +core_mask=0x3,0x5 ip_src=16.0.0.1 ip_dst=10.0.0.1 warmup=15 -- 1.9.3