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

2015-10-22 Thread Maxim Uvarov
On 10/21/2015 14:12, Matias Elo wrote: 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 inse

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

2015-10-21 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 deletions(-) diff --git a/te