From 08a97874cee106b8d3cc40d3df7eab337e50a395 Mon Sep 17 00:00:00 2001 From: Sergio Gonzalez Monroy Date: Fri, 30 Jun 2017 08:56:29 +0100 Subject: [PATCH] app/crypto-perf: set crypto op pool cache Signed-off-by: Sergio Gonzalez Monroy Acked-by: Fiona Trahe --- app/test-crypto-perf/cperf_test_latency.c | 2 +- app/test-crypto-perf/cperf_test_throughput.c | 2 +- app/test-crypto-perf/cperf_test_verify.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_latency.c b/app/test-crypto-perf/cperf_test_latency.c index 6b79735ac1..4fb7a9a9d1 100644 --- a/app/test-crypto-perf/cperf_test_latency.c +++ b/app/test-crypto-perf/cperf_test_latency.c @@ -277,7 +277,7 @@ cperf_latency_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; diff --git a/app/test-crypto-perf/cperf_test_throughput.c b/app/test-crypto-perf/cperf_test_throughput.c index b14808a1eb..85947a53da 100644 --- a/app/test-crypto-perf/cperf_test_throughput.c +++ b/app/test-crypto-perf/cperf_test_throughput.c @@ -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; diff --git a/app/test-crypto-perf/cperf_test_verify.c b/app/test-crypto-perf/cperf_test_verify.c index 454221e690..b19f5e1369 100644 --- a/app/test-crypto-perf/cperf_test_verify.c +++ b/app/test-crypto-perf/cperf_test_verify.c @@ -267,7 +267,7 @@ cperf_verify_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; -- 2.20.1