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

2016-08-02 Thread Thomas Monjalon
2016-08-02 08:22, Dai, Wei: > Hi, Thomas, Yigit > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 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 t

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

2016-08-02 Thread Dai, Wei
Hi, Thomas, Yigit > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, July 29, 2016 12:06 AM > To: Dai, Wei > Cc: dev at dpdk.org; Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH v3 4/4] eal: fix end character check in >

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

2016-07-28 Thread Thomas Monjalon
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

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

2016-07-28 Thread 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: 53e54bf81

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

2016-07-27 Thread Wei Dai
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")