Imported Upstream version 17.05.2
[deb_dpdk.git] / app / test-crypto-perf / cperf_test_latency.c
index e61ac97..fd974c4 100644 (file)
@@ -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);
 }