diff options
author | Damjan Marion <damarion@cisco.com> | 2022-01-26 11:07:47 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2022-01-26 11:14:00 +0100 |
commit | b1c9c048a26a1675311849b7d2595b74911a897f (patch) | |
tree | 2501bf17566cc8a0985b219143439c2f71002252 | |
parent | 556b5a39b61d9982f5205a438b94772e265a213e (diff) |
dpdk: not having cryptodev resources should not produce warnings
Type: fix
Change-Id: Ifb2e4d93dcf8648b1bd66f4c0ee937295683bd87
Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r-- | src/plugins/dpdk/cryptodev/cryptodev.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev.c b/src/plugins/dpdk/cryptodev/cryptodev.c index c2b8a080599..b1da6c2020b 100644 --- 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) { |