Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
556b5a3
)
dpdk: not having cryptodev resources should not produce warnings
01/35101/1
author
Damjan Marion
<damarion@cisco.com>
Wed, 26 Jan 2022 10:07:47 +0000
(11:07 +0100)
committer
Damjan Marion
<damarion@cisco.com>
Wed, 26 Jan 2022 10:14:00 +0000
(11:14 +0100)
Type: fix
Change-Id: Ifb2e4d93dcf8648b1bd66f4c0ee937295683bd87
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/dpdk/cryptodev/cryptodev.c
patch
|
blob
|
history
diff --git
a/src/plugins/dpdk/cryptodev/cryptodev.c
b/src/plugins/dpdk/cryptodev/cryptodev.c
index
c2b8a08
..
b1da6c2
100644
(file)
--- a/
src/plugins/dpdk/cryptodev/cryptodev.c
+++ b/
src/plugins/dpdk/cryptodev/cryptodev.c
@@
-1150,10
+1150,7
@@
dpdk_cryptodev_init (vlib_main_t * vm)
/* probe all cryptodev devices and get queue info */
if (cryptodev_probe (vm, n_workers) < 0)
- {
- error = clib_error_return (0, "Not enough cryptodev resources");
- goto err_handling;
- }
+ return 0;
vec_foreach (dev_inst, cmt->cryptodev_inst)
{