From 3b2311cc096810dae761578cf526a95fc56cfc85 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Thu, 28 Oct 2021 11:22:00 +0100 Subject: [PATCH] examples/fips_validation: fix device start This patch fixes the missing device start for fips validation sample app. Bugzilla ID: 842 Fixes: 261bbff75e34 ("examples: use separate crypto session mempools") Cc: stable@dpdk.org Signed-off-by: Fan Zhang Acked-by: Akhil Goyal --- 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.20.1