[dpdk-dev] [PATCH v3 3/4] eal: fix tail blank check in --lcores argument

2016-07-28 Thread Ferruh Yigit
On 7/27/2016 12:25 PM, Wei Dai wrote: > the tail blank after a group of lcore or cpu set > will make check of its end character fail. > for example: --lcores '(0-3)@(0-3) ,(4-5)@(4-5)', > the next character after cpu set (0-3) is not ',' > or '\0', which fail the check in eal_parse_lcores( ). >

[dpdk-dev] [PATCH v3 3/4] eal: fix tail blank check in --lcores argument

2016-07-27 Thread Wei Dai
the tail blank after a group of lcore or cpu set will make check of its end character fail. for example: --lcores '(0-3)@(0-3) ,(4-5)@(4-5)', the next character after cpu set (0-3) is not ',' or '\0', which fail the check in eal_parse_lcores( ). Fixes: 53e54bf81700 ("eal: new option --lcores