[dpdk-dev] [PATCH v3 4/4] eal: fix end character check in --lcores argument

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 28 18:05:51 CEST 2016


2016-07-28 16:26, Ferruh Yigit:
> On 7/27/2016 12:27 PM, Wei Dai wrote:
> > With --lcores 'a-b at c-d', eal_parse_cores() fails because
> > eal_parse_set() fails due to the next character after
> > lcore set a-b, which is '@'and not ',' or '\0'.
> > There is also a right check immediately
> > after this incorrect check.
> > 
> > Fixes: 53e54bf81700 ("eal: new option --lcores for cpu assignment")
> > 
> > Signed-off-by: Wei Dai <wei.dai at intel.com>
> 
> I am not sure if a-b at c-d syntax should be supported. (a-b)@(c-d) is
> supported and already working.

Agreed.

Series applied, except this last patch 4, thanks


More information about the dev mailing list