Please sign in to comment.
app/testpmd: fix latency stats deinit on signal
[ upstream commit 8b36297d15f90265b50fae211157dff573513359 ] 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 only if latencystats is enabled. Fixes: 62d3216 ("app/testpmd: add latency statistics calculation") Signed-off-by: Amit Gupta <firstname.lastname@example.org> Acked-by: Jerin Jacob <email@example.com> Tested-by: Jerin Jacob <firstname.lastname@example.org>
- Loading branch information...