X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-crypto-perf%2Fcperf_test_throughput.c;h=bc7d889298e016721dd9dd48c80e32d5b1ea36f7;hb=c4f916e33226d308cb292568ea98b88376aea5f0;hp=8d54642f2c9d415f1f61d266fbb27a683f15bfa3;hpb=8e4b860141a1f794aafa0494939d2df223bf43b6;p=dpdk.git diff --git a/app/test-crypto-perf/cperf_test_throughput.c b/app/test-crypto-perf/cperf_test_throughput.c index 8d54642f2c..bc7d889298 100644 --- a/app/test-crypto-perf/cperf_test_throughput.c +++ b/app/test-crypto-perf/cperf_test_throughput.c @@ -107,7 +107,7 @@ cperf_throughput_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) @@ -368,7 +368,5 @@ cperf_throughput_test_destructor(void *arg) if (ctx == NULL) return; - rte_cryptodev_stop(ctx->dev_id); - cperf_throughput_test_free(ctx); }