examples/fips_validation: fix device start
Checks
Commit Message
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(+)
Comments
> 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.
@@ -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: