DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/fips_validation: fix device start
@ 2021-10-28 10:22 Fan Zhang
  2021-10-31 20:40 ` [dpdk-dev] [EXT] " Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Fan Zhang @ 2021-10-28 10:22 UTC (permalink / raw)
  To: dev; +Cc: gakhil, Fan Zhang

Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")
Cc: roy.fan.zhang@intel.com

Bugzilla Link: https://bugs.dpdk.org/show_bug.cgi?id=842

This patch fixes the missing device start for fips validation
sample app.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
 examples/fips_validation/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c
index b0de3d269a..dc40bffe7d 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -134,6 +134,10 @@ cryptodev_fips_validate_app_int(void)
 	if (ret < 0)
 		goto error_exit;
 
+	ret = rte_cryptodev_start(env.dev_id);
+	if (ret < 0)
+		goto error_exit;
+
 	return 0;
 
 error_exit:
-- 
2.25.1


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

* Re: [dpdk-dev] [EXT] [PATCH] examples/fips_validation: fix device start
  2021-10-28 10:22 [dpdk-dev] [PATCH] examples/fips_validation: fix device start Fan Zhang
@ 2021-10-31 20:40 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2021-10-31 20:40 UTC (permalink / raw)
  To: Fan Zhang, dev

> Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")
> Cc: roy.fan.zhang@intel.com
> 
> 
> This patch fixes the missing device start for fips validation
> sample app.
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

Applied to dpdk-next-crypto

Thanks.

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

end of thread, other threads:[~2021-10-31 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 10:22 [dpdk-dev] [PATCH] examples/fips_validation: fix device start Fan Zhang
2021-10-31 20:40 ` [dpdk-dev] [EXT] " 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).