From: Sergio Gonzalez Monroy Date: Fri, 30 Jun 2017 07:56:29 +0000 (+0100) Subject: app/crypto-perf: set crypto op pool cache X-Git-Tag: spdx-start~2699 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=08a97874cee106b8d3cc40d3df7eab337e50a395;p=dpdk.git app/crypto-perf: set crypto op pool cache Signed-off-by: Sergio Gonzalez Monroy Acked-by: Fiona Trahe --- 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;