Re: [dpdk-dev] [PATCH v2 2/2] test: support cleanup in bitrate and latency test

2020-05-19 Thread Stephen Hemminger
On Tue, 19 May 2020 16:22:58 +0530 Hemant Agrawal wrote: > +/* To test free the resources from bitrate_reg test */ > +static int > +test_stats_bitrate_free(void) > +{ > + int ret = 0; > + > + ret = rte_metrics_deinit(); Coverity will complain about extra initialization like this

[dpdk-dev] [PATCH v2 2/2] test: support cleanup in bitrate and latency test

2020-05-19 Thread Hemant Agrawal
both bitratestats_autotest latency test initializes the metrics library. It should be cleaned during exit. Signed-off-by: Hemant Agrawal --- app/test/test_bitratestats.c | 14 ++ app/test/test_latencystats.c | 3 +++ 2 files changed, 17 insertions(+) diff --git a/app/test/test_bitr