]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_latency.c
app/crypto-perf: stop crypto devices after test
[dpdk.git] / app / test-crypto-perf / cperf_test_latency.c
index 1a42602fe74553b06eb246404cc239ae42754e72..3389615f10801c3a013f1e8231fcdd1d33ab1b35 100644 (file)
@@ -579,6 +579,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);
 }