DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto
@ 2019-07-24  9:04 Anoob Joseph
  2019-07-24  9:31 ` Shally Verma
  2019-07-24 16:21 ` Trahe, Fiona
  0 siblings, 2 replies; 4+ messages in thread
From: Anoob Joseph @ 2019-07-24  9:04 UTC (permalink / raw)
  To: Akhil Goyal, Declan Doherty, Pablo de Lara
  Cc: Anoob Joseph, Jerin Jacob, Narayana Prasad, Shally Verma, dev

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>
---
 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 ce92a96..2109e70 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.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto
  2019-07-24  9:04 [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto Anoob Joseph
@ 2019-07-24  9:31 ` Shally Verma
  2019-07-24 16:21 ` Trahe, Fiona
  1 sibling, 0 replies; 4+ messages in thread
From: Shally Verma @ 2019-07-24  9:31 UTC (permalink / raw)
  To: Anoob Joseph, Akhil Goyal, Declan Doherty, Pablo de Lara
  Cc: Anoob Joseph, Jerin Jacob Kollanukkaran,
	Narayana Prasad Raju Athreya, dev



> -----Original Message-----
> From: Anoob Joseph <anoobj@marvell.com>
> Sent: Wednesday, July 24, 2019 2:34 PM
> To: Akhil Goyal <akhil.goyal@nxp.com>; Declan Doherty
> <declan.doherty@intel.com>; Pablo de Lara
> <pablo.de.lara.guarch@intel.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj@marvell.com>; Narayana Prasad Raju Athreya
> <pathreya@marvell.com>; Shally Verma <shallyv@marvell.com>;
> dev@dpdk.org
> 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 <anoobj@marvell.com>
> ---
Acked-by: Shally Verma <shallyv@marvell.com>

>  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
> ce92a96..2109e70 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.7.4



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto
  2019-07-24  9:04 [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto Anoob Joseph
  2019-07-24  9:31 ` Shally Verma
@ 2019-07-24 16:21 ` Trahe, Fiona
  2019-07-26 12:42   ` Akhil Goyal
  1 sibling, 1 reply; 4+ messages in thread
From: Trahe, Fiona @ 2019-07-24 16:21 UTC (permalink / raw)
  To: Anoob Joseph, Akhil Goyal, Doherty, Declan, De Lara Guarch, Pablo
  Cc: Jerin Jacob, Narayana Prasad, Shally Verma, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anoob Joseph
> Sent: Wednesday, July 24, 2019 10:04 AM
> To: Akhil Goyal <akhil.goyal@nxp.com>; Doherty, Declan <declan.doherty@intel.com>; De Lara Guarch,
> Pablo <pablo.de.lara.guarch@intel.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Jerin Jacob <jerinj@marvell.com>; Narayana Prasad
> <pathreya@marvell.com>; Shally Verma <shallyv@marvell.com>; dev@dpdk.org
> Subject: [dpdk-dev] [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 <anoobj@marvell.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto
  2019-07-24 16:21 ` Trahe, Fiona
@ 2019-07-26 12:42   ` Akhil Goyal
  0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2019-07-26 12:42 UTC (permalink / raw)
  To: Trahe, Fiona, Anoob Joseph, Doherty, Declan, De Lara Guarch, Pablo
  Cc: Jerin Jacob, Narayana Prasad, Shally Verma, dev

> >
> > 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: Fiona Trahe <fiona.trahe@intel.com>

Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-26 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-24  9:04 [dpdk-dev] [PATCH] app/crypto-perf: disable asymmetric crypto Anoob Joseph
2019-07-24  9:31 ` Shally Verma
2019-07-24 16:21 ` Trahe, Fiona
2019-07-26 12:42   ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).