app/crypto-perf: disable asymmetric crypto
authorAnoob Joseph <anoobj@marvell.com>
Wed, 24 Jul 2019 09:04:19 +0000 (14:34 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 26 Jul 2019 09:22:53 +0000 (11:22 +0200)
Asymmetric crypto is not required for test-crypto-perf application.
Disabling the feature using 'ff_disable' field.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Shally Verma <shallyv@marvell.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
app/test-crypto-perf/main.c

index ce92a96..2109e70 100644 (file)
@@ -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 = {