summaryrefslogtreecommitdiffstats
path: root/src/vnet/crypto/crypto.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-08-31 15:33:57 +0200
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-09-03 16:49:19 +0200
commit0c936b147f4fc52bdb685f701bc7d93959a1a6a2 (patch)
tree6a61a3e57a457ad96792b8215e3d31c1ffc5aa9e /src/vnet/crypto/crypto.c
parent2284817eae67d78f3a9afffed9d830da658dd568 (diff)
crypto: Add async crypto APIs
Type: feature This adds api calls for the following CLIs: * set sw_scheuduler worker <N> crypto on|off * set crypto async dispatch polling|interrupt * set crypto handler * set crypto async handler Change-Id: Ic701d149c440e42ea4575da42b9f69e4c8759602 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/crypto/crypto.c')
-rw-r--r--src/vnet/crypto/crypto.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/crypto/crypto.c b/src/vnet/crypto/crypto.c
index b877d9a5f03..a82ebae4313 100644
--- a/src/vnet/crypto/crypto.c
+++ b/src/vnet/crypto/crypto.c
@@ -620,10 +620,6 @@ vnet_crypto_set_async_dispatch_mode (u8 mode)
if (state != vlib_node_get_state (vlib_mains[i], cm->crypto_node_index))
vlib_node_set_state (vlib_mains[i], cm->crypto_node_index, state);
}
- clib_warning ("Switching dispatch mode might not work is some situations.");
- clib_warning
- ("Use 'show crypto async status' to verify that the nodes' states were set");
- clib_warning ("and if not, set 'crypto async dispatch' mode again.");
}
int