From ae7430dfeb08a2e06b6f6289afb7478c18f77c08 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Wed, 24 Jul 2019 14:34:19 +0530 Subject: [PATCH] app/crypto-perf: disable asymmetric crypto Asymmetric crypto is not required for test-crypto-perf application. Disabling the feature using 'ff_disable' field. Signed-off-by: Anoob Joseph Acked-by: Shally Verma Acked-by: Fiona Trahe --- app/test-crypto-perf/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index ce92a96872..2109e7007e 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -201,7 +201,8 @@ cperf_initialize_cryptodev(struct cperf_options *opts, uint8_t *enabled_cdevs) struct rte_cryptodev_config conf = { .nb_queue_pairs = opts->nb_qps, .socket_id = socket_id, - .ff_disable = RTE_CRYPTODEV_FF_SECURITY, + .ff_disable = RTE_CRYPTODEV_FF_SECURITY | + RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO, }; struct rte_cryptodev_qp_conf qp_conf = { -- 2.20.1