From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 54CE41025 for ; Thu, 1 May 2014 17:43:58 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 01 May 2014 08:39:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,965,1389772800"; d="scan'208";a="533130017" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 01 May 2014 08:44:00 -0700 Received: from irsmsx106.ger.corp.intel.com (163.33.3.31) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 1 May 2014 16:43:39 +0100 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.249]) by IRSMSX106.ger.corp.intel.com ([169.254.8.28]) with mapi id 14.03.0123.003; Thu, 1 May 2014 16:43:39 +0100 From: "Burakov, Anatoly" To: David Marchand , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH RFC] eal: change core mask input format Thread-Index: AQHPZH6eEaY/5I5GfE+/LFvBv7d9Lpsr3gpQ Date: Thu, 1 May 2014 15:43:38 +0000 Message-ID: References: <1398867282-15076-1-git-send-email-david.marchand@6wind.com> In-Reply-To: <1398867282-15076-1-git-send-email-david.marchand@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH RFC] eal: change core mask input format X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 15:43:58 -0000 > From: Didier Pallard >=20 > In current version, coremask can only be specified using a bitmask. > It will now be possible to specify core masks in 2 different ways: > - Using a bitmask (-c 0xnnn): bitmask must be in hex format and start wit= h 0x > - Using a core set description in following format: -c [c1[-c2]][,c3[-c4]= ]... >=20 > -c 0-7,16-23,31 being equivalent to -c 0x80FF00FF >=20 > Signed-off-by: Didier Pallard Can we perhaps use a different parameter for that? E.g. --use-cores=3D[c1[-= c2]][,c3[-c4]]... instead of -c? Also, it would be great if corresponding unit tests were also added. Best regards, Anatoly Burakov DPDK SW Engineer -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare =20