Re: [dpdk-dev] CLI parsing issue

2017-04-24 Thread Lu, Wenzhuo
Hi Olivier, > -Original Message- > From: Olivier Matz [mailto:olivier.m...@6wind.com] > Sent: Monday, April 24, 2017 6:12 PM > To: Lu, Wenzhuo > Cc: 'dev@dpdk.org' > Subject: Re: CLI parsing issue > > I checked in detail, and you're right there is a bug here. Your proposed > patch looks g

Re: [dpdk-dev] CLI parsing issue

2017-04-24 Thread Olivier Matz
Hi Wenzhuo, On Mon, 24 Apr 2017 01:49:38 +, "Lu, Wenzhuo" wrote: > Hi Olivier, > > > > -Original Message- > > From: Lu, Wenzhuo > > Sent: Friday, April 21, 2017 9:18 AM > > To: Olivier MATZ > > Cc: dev@dpdk.org > > Subject: RE: CLI parsing issue > > > > Hi Olivier, > > > > > ---

Re: [dpdk-dev] CLI parsing issue

2017-04-23 Thread Lu, Wenzhuo
Hi Olivier, > -Original Message- > From: Lu, Wenzhuo > Sent: Friday, April 21, 2017 9:18 AM > To: Olivier MATZ > Cc: dev@dpdk.org > Subject: RE: CLI parsing issue > > Hi Olivier, > > > -Original Message- > > From: Olivier MATZ [mailto:olivier.m...@6wind.com] > > Sent: Thursday,

Re: [dpdk-dev] CLI parsing issue

2017-04-20 Thread Lu, Wenzhuo
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.m...@6wind.com] > Sent: Thursday, April 20, 2017 4:55 PM > To: Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: Re: CLI parsing issue > > Hi Wenzhuo, > > On Thu, 20 Apr 2017 08:36:38 +, "Lu, Wenzhuo" > wrote: > > Hi Oliv

Re: [dpdk-dev] CLI parsing issue

2017-04-20 Thread Olivier MATZ
Hi Wenzhuo, On Thu, 20 Apr 2017 08:36:38 +, "Lu, Wenzhuo" wrote: > Hi Olivier, > I met a problem thar the parsing result of CLI is wrong. > I checked this function, cmdline_parse. It will check the CLI instances one > by one. Even if an instance is matched, the parsing will not stop for > a

[dpdk-dev] CLI parsing issue

2017-04-20 Thread Lu, Wenzhuo
Hi Olivier, I met a problem thar the parsing result of CLI is wrong. I checked this function, cmdline_parse. It will check the CLI instances one by one. Even if an instance is matched, the parsing will not stop for ambiguous check. Seems the following check may change the parsing result of the pr