dpdk: not having cryptodev resources should not produce warnings

Type: fix
Change-Id: Ifb2e4d93dcf8648b1bd66f4c0ee937295683bd87
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2022-01-26 11:07:47 +01:00
parent 556b5a39b6
commit b1c9c048a2
+1 -4
View File
@@ -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)
{