From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 2AC565965 for ; Fri, 23 May 2014 10:47:36 +0200 (CEST) Received: by mail-wi0-f176.google.com with SMTP id n15so467990wiw.9 for ; Fri, 23 May 2014 01:47:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=O+E9JTPEcWwsDkiCQPLQ7CjjBKCXxxOUs2W/D/2jifw=; b=hjziClheHX4adoNJ5BMk5T2cAuxtIYJlZNbHnM99gZtm2tdb5s8Mk4Ijfvp4ZygDyO pxARscM6eX7XC2RnwC7ZG4KJmETih5bRHC17L4RoQcYrR6Wy+o4GOYoJrThwLARGP0wE gjYEezfVT/WZjvmWLeKcq7jWf0MITD/8unlTBY75GCc6GlVsnD14Mr9nvVxnEHhlomdl rx//P+ft6xG0+S29l8I4fPh5wCP00Je2CmIeRL2Kmmj1e8+w3LcV2JaeRtV2QIysjQiU sLr37qINQ5tPLllHqPz0QBDQ0EXBLC3DT5bBwO8oELcQeddY4Cu7o9tqPxz1FBPXBYSi GOvw== X-Gm-Message-State: ALoCoQkmYCNsCkavN/5lieEWJJRgYR3pV4vWDukRaLWzDydRKYSHT3aDgEVKAnzd6gbL5BXEOErb X-Received: by 10.194.90.107 with SMTP id bv11mr2804494wjb.11.1400834866078; Fri, 23 May 2014 01:47:46 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ho2sm1744369wib.15.2014.05.23.01.47.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 01:47:32 -0700 (PDT) From: Thomas Monjalon To: "Burakov, Anatoly" Date: Fri, 23 May 2014 10:44:20 +0200 Message-ID: <3072912.3LAuKXU4by@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: References: <1398867282-15076-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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: Fri, 23 May 2014 08:47:36 -0000 Hi Anatoly, 2014-05-01 15:43, Burakov, Anatoly: > > From: Didier Pallard > > > > 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 with > > 0x - Using a core set description in following format: -c > > [c1[-c2]][,c3[-c4]]... > > > > -c 0-7,16-23,31 being equivalent to -c 0x80FF00FF > > > > Signed-off-by: Didier Pallard > > Can we perhaps use a different parameter for that? E.g. > --use-cores=[c1[-c2]][,c3[-c4]]... instead of -c? I don't understand what would be improved by adding a new parameter. I think being able to handle the 2 syntaxes within the same option is nice. -- Thomas