]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_throughput.c
app/crypto-perf: set crypto op pool cache
[dpdk.git] / app / test-crypto-perf / cperf_test_throughput.c
index b14808a1eb654bef55bbb3dcd44aeb135de3b9f7..85947a53da1b0c8b4221e637c047a23a39b35c28 100644 (file)
@@ -263,7 +263,7 @@ cperf_throughput_test_constructor(uint8_t dev_id, uint16_t qp_id,
                        dev_id);
 
        ctx->crypto_op_pool = rte_crypto_op_pool_create(pool_name,
-                       RTE_CRYPTO_OP_TYPE_SYMMETRIC, options->pool_sz, 0, 0,
+                       RTE_CRYPTO_OP_TYPE_SYMMETRIC, options->pool_sz, 512, 0,
                        rte_socket_id());
        if (ctx->crypto_op_pool == NULL)
                goto err;