app/crypto-perf: set crypto op pool cache
[dpdk.git] / app / test-crypto-perf / cperf_test_throughput.c
index b14808a..85947a5 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;