[dpdk-dev] [PATCH RFC] eal: change core mask input format

Burakov, Anatoly anatoly.burakov at intel.com
Thu May 1 17:43:38 CEST 2014


> 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?

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


 


More information about the dev mailing list