Skip to contentSkip to conversation

app/crypto-perf: disable asymmetric crypto

PATCH Applied Anoob Joseph 4 participants 4 messages Jul 24, 2019 – Jul 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/crypto-perf: disable asymmetric crypto

Asymmetric crypto is not required for test-crypto-perf application. Disabling the feature using 'ff_disable' field.

---
 app/test-crypto-perf/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
app/test-crypto-perf/main.c +2 -1
index ce92a96..2109e70 100644
@@ -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 = {
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines

-----Original Message-----
From: Anoob Joseph <[email protected]>
Sent: Wednesday, July 24, 2019 2:34 PM
To: Akhil Goyal <[email protected]>; Declan Doherty <[email protected]>; Pablo de Lara <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; Shally Verma <[email protected]>; [email protected]
Subject: [PATCH] app/crypto-perf: disable asymmetric crypto

Quoted 5 lines

Asymmetric crypto is not required for test-crypto-perf application. Disabling the feature using 'ff_disable' field.

---

Quoted 21 lines
 app/test-crypto-perf/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
app/test-crypto-perf/main.c index renamed from app/test-crypto-perf/main.c +0 -0

ce92a96..2109e70 100644

app/test-crypto-perf/main.c +2 -1
@@ -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.7.4

Acked-by on v1 1/1
#2 lore raw
In reply to Anoob Joseph
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Anoob Joseph
Sent: Wednesday, July 24, 2019 10:04 AM
To: Akhil Goyal <[email protected]>; Doherty, Declan <[email protected]>; De Lara Guarch, Pablo <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob <[email protected]>; Narayana Prasad <[email protected]>; Shally Verma <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto

Quoted 4 lines

Asymmetric crypto is not required for test-crypto-perf application. Disabling the feature using 'ff_disable' field.