]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_verify.c
app/crypto-perf: support multiple queue pairs
[dpdk.git] / app / test-crypto-perf / cperf_test_verify.c
index c57d6722b83b6d758ed35637b94b705cfffa5091..2b6f3b4d00685b049a34cb6e35a75b9c4f3f36b8 100644 (file)
@@ -111,7 +111,7 @@ cperf_verify_test_constructor(struct rte_mempool *sess_mp,
        if (ctx->sess == NULL)
                goto err;
 
-       if (cperf_alloc_common_memory(options, test_vector, dev_id, 0,
+       if (cperf_alloc_common_memory(options, test_vector, dev_id, qp_id, 0,
                        &ctx->pkt_mbuf_pool_in, &ctx->pkt_mbuf_pool_out,
                        &ctx->mbufs_in, &ctx->mbufs_out,
                        &ctx->crypto_op_pool) < 0)
@@ -469,7 +469,5 @@ cperf_verify_test_destructor(void *arg)
        if (ctx == NULL)
                return;
 
-       rte_cryptodev_stop(ctx->dev_id);
-
        cperf_verify_test_free(ctx);
 }