Skip to contentSkip to conversation

examples/fips_validation: fix device start

PATCH Applied Fan Zhang 2 participants 2 messages Oct 28, 2021 – Oct 31, 2021

lore
Share & tools
lore

Fan Zhang

author
#0 lore raw

PATCH 1/1 examples/fips_validation: fix device start

Fixes 261bbff75e34 ("examples: use separate crypto session mempools")

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

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

---
 examples/fips_validation/main.c | 4 ++++
 1 file changed, 4 insertions(+)
examples/fips_validation/main.c +4 -0
index b0de3d269a..dc40bffe7d 100644
@@ -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:
Signature · 1 line
2.25.1