[lng-odp] [PATCH v5 3/6] test: l2fwd: fix crash when accuracy is set to 0

2015-10-23 Thread Matias Elo
Application crashes if accuracy option is set to zero (division by zero). Disable statistics printing if accuracy <= 0. Signed-off-by: Matias Elo --- test/performance/odp_l2fwd.c | 59 +++- 1 file changed, 37 insertions(+), 22

Re: [lng-odp] [PATCH v5 3/6] test: l2fwd: fix crash when accuracy is set to 0

2015-10-23 Thread Elo, Matias (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Maxim > Uvarov > Sent: Friday, October 23, 2015 1:03 PM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH v5 3/6] test: l2fwd: fix crash when accuracy is > set