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 166B3A00E6 for ; Tue, 6 Aug 2019 08:13:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B2C51B998; Tue, 6 Aug 2019 08:13:37 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AA6EB1B974 for ; Tue, 6 Aug 2019 08:13:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Aug 2019 23:13:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,352,1559545200"; d="scan'208";a="176534626" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 05 Aug 2019 23:13:34 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 5 Aug 2019 23:13:33 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 5 Aug 2019 23:13:33 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 14:13:31 +0800 From: "Chen, Zhaoyan" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" , "Chen, Zhaoyan" Thread-Topic: [dts] [PATCH V2 1/2] [next]conf/pktgen: update option description Thread-Index: AQHVTBynwVvUsIbTO0iGVDu5GUgj0qbto+MQ Date: Tue, 6 Aug 2019 06:13:31 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41D770D9@SHSMSX104.ccr.corp.intel.com> References: <1565071409-215899-1-git-send-email-yufengx.mo@intel.com> <1565071409-215899-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1565071409-215899-2-git-send-email-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.0.600.7 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 V2 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" Acked-by: Zhaoyan Chen Regards, Zhaoyan Chen > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: Tuesday, August 6, 2019 2:03 PM > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts] [PATCH V2 1/2] [next]conf/pktgen: update option descriptio= n >=20 >=20 > *. change core mask to list format in pktgen.cfg and add description for = core mask. > *. add synchronized option and its description in pktgen.cfg. >=20 > Signed-off-by: yufengmx > --- > conf/pktgen.cfg | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) >=20 > diff --git a/conf/pktgen.cfg b/conf/pktgen.cfg index 667e1e8..14a58f5 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. > @@ -21,7 +28,7 @@ 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 > +core_mask=3D0x3,0x5 > ip_src=3D16.0.0.1 > ip_dst=3D10.0.0.1 > warmup=3D15 > -- > 1.9.3