From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH RFC] eal: change core mask input format Date: Fri, 23 May 2014 10:44:20 +0200 Message-ID: <3072912.3LAuKXU4by@xps13> References: <1398867282-15076-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Burakov, Anatoly" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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