aboutsummaryrefslogtreecommitdiffstats
path: root/app/test-crypto-perf/cperf_test_latency.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test-crypto-perf/cperf_test_latency.c')
-rw-r--r--app/test-crypto-perf/cperf_test_latency.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/test-crypto-perf/cperf_test_latency.c b/app/test-crypto-perf/cperf_test_latency.c
index e61ac972..fd974c40 100644
--- a/app/test-crypto-perf/cperf_test_latency.c
+++ b/app/test-crypto-perf/cperf_test_latency.c
@@ -547,6 +547,7 @@ cperf_latency_test_destructor(void *arg)
if (ctx == NULL)
return;
- cperf_latency_test_free(ctx, ctx->options->pool_sz);
+ rte_cryptodev_stop(ctx->dev_id);
+ cperf_latency_test_free(ctx, ctx->options->pool_sz);
}