Re: [dpdk-dev] [PATCH] app/testpmd: fix latencystats deinit on signal

2019-08-08 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of agup...@marvell.com > Sent: Wednesday, August 7, 2019 6:42 PM > To: Wenzhuo Lu ; Jingjing Wu > ; Bernard Iremonger > Cc: dev@dpdk.org; sta...@dpdk.org; Amit Gupta > Subject: [dpdk-dev] [PATCH] app/testpmd: fix latencys

[dpdk-dev] [PATCH] app/testpmd: fix latencystats deinit on signal

2019-08-07 Thread agupta3
From: Amit Gupta On receiving signal, testpmd showing warning as "LATENCY_STATS: failed to remove Rx/Tx callback" because rte_latencystats_uninit is called without checking if latencystats is enabled or not. After this fix, rte_latencystats_uninit will be called onlyif latencystats is enabled.