app/crypto-perf: support multiple queue pairs
[dpdk.git] / app / test-crypto-perf / cperf_test_pmd_cyclecount.c
index 81f403c..13a270f 100644 (file)
@@ -143,7 +143,7 @@ cperf_pmd_cyclecount_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)