[dpdk-dev] [PATCH RFC] eal: change core mask input format
thomas.monjalon at 6wind.com
Fri May 23 10:44:20 CEST 2014
2014-05-01 15:43, Burakov, Anatoly:
> > From: Didier Pallard <didier.pallard at 6wind.com>
> > 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 <didier.pallard at 6wind.com>
> 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.
More information about the dev