git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255204e
)
examples/fips_validation: fix device start
author
Fan Zhang
<roy.fan.zhang@intel.com>
Thu, 28 Oct 2021 10:22:00 +0000
(11:22 +0100)
committer
Akhil Goyal
<gakhil@marvell.com>
Thu, 4 Nov 2021 18:46:27 +0000
(19:46 +0100)
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 <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/fips_validation/main.c
patch
|
blob
|
history
diff --git
a/examples/fips_validation/main.c
b/examples/fips_validation/main.c
index
b0de3d2
..
dc40bff
100644
(file)
--- 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: