Re: [dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-21 Thread Gaëtan Rivet
On Mon, Aug 21, 2017 at 12:02:44PM +, Matan Azrad wrote: > Hi Gaetan > > > -Original Message- > > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > > Sent: Monday, August 21, 2017 12:34 PM > > To: Matan Azrad > > Cc: dev@dpdk.org; sta...@dpdk.org > > Subject: Re: [PATCH v2] net/fai

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-21 Thread Matan Azrad
Hi Gaetan > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Monday, August 21, 2017 12:34 PM > To: Matan Azrad > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH v2] net/failsafe: fix parameters parsing > > Hi Matan, > > On Sun, Aug 20, 2017 at 01:

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-21 Thread Gaëtan Rivet
Hi Matan, On Sun, Aug 20, 2017 at 01:07:23AM +0300, Matan Azrad wrote: > The corrupted code used wrongly snprintf return value as the > number of characters actually copied, in spite of the meanning > is the number of characters which would be generated for the > given input. > > It caused to rem

[dpdk-dev] [PATCH v2] net/failsafe: fix parameters parsing

2017-08-19 Thread Matan Azrad
The corrupted code used wrongly snprintf return value as the number of characters actually copied, in spite of the meanning is the number of characters which would be generated for the given input. It caused to remain zerod bytes between the failsafe command line non sub device parameters indicate