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 4505CA04DD; Thu, 2 Jan 2020 04:29:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B7551BF9F; Thu, 2 Jan 2020 04:29:06 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 04B4E1BF89 for ; Thu, 2 Jan 2020 04:29:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jan 2020 19:29:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,385,1571727600"; d="scan'208";a="369219713" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 01 Jan 2020 19:29:03 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 1 Jan 2020 19:29:03 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 1 Jan 2020 19:29:02 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 1 Jan 2020 19:29:02 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.197]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.203]) with mapi id 14.03.0439.000; Thu, 2 Jan 2020 11:29:01 +0800 From: "Chen, Zhaoyan" To: "Mo, YufengX" , "dts@dpdk.org" , "Wang, Yinan" , "Ma, LihongX" CC: "Mo, YufengX" , "Chen, Zhaoyan" Thread-Topic: [dts] [PATCH V3 1/5] conf/pktgen: remove un-used optons Thread-Index: AQHVppO2xCWJjMua60eLT6vtjLwOcqfW7GBw Date: Thu, 2 Jan 2020 03:29:00 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41E76CDB@SHSMSX104.ccr.corp.intel.com> References: <20191129090315.60124-1-yufengx.mo@intel.com> <20191129090315.60124-2-yufengx.mo@intel.com> In-Reply-To: <20191129090315.60124-2-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Acked-by: Zhaoyan Chen Regards, Zhaoyan Chen > -----Original Message----- > From: dts On Behalf Of yufengmx > Sent: Friday, November 29, 2019 5:03 PM > To: dts@dpdk.org; Wang, Yinan ; Ma, LihongX > > Cc: Mo, YufengX > Subject: [dts] [PATCH V3 1/5] conf/pktgen: remove un-used optons >=20 >=20 > *. 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. >=20 > Signed-off-by: yufengmx > --- > conf/pktgen.cfg | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) >=20 > diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg index 667e1e8..e111459 100= 644 > --- 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 o= ptional. > # 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=3D0x3,0x5 > +# 2. CORE_MASK_PIN > +# for each dual ports (a group that shares the same cores), the core= s will > +# be divided half pinned for each port. > +# example: core_mask=3DCORE_MASK_PIN > # num -n: Number of memory channels > # proc_type --proc-type: Type of this process # pci_blacklist --pci-bla= cklist, -b: Add a > PCI device in black list. > @@ -20,13 +27,8 @@ > trex_lib_path=3D/opt/trex/vx.xxx/automation/trex_control_plane/interactiv= e > config_file=3D/etc/trex_cfg.yaml > server=3D10.67.111.143 > pcap_file=3D/opt/trex-core-2.26/scripts/stl/sample.pcap > -core_num=3D4 > -#core_mask=3D0x3 > -ip_src=3D16.0.0.1 > -ip_dst=3D10.0.0.1 > -warmup=3D15 > -duration=3D-1 > -#start_trex=3Dyes > +core_mask=3D0x3,0x5 > +start_trex=3Dyes >=20 > # IXIA port Configuration > # IxiaGroup: Group name for IXIA ports > -- > 2.21.0