summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_sw_scheduler/main.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/plugins/crypto_sw_scheduler/main.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/plugins/crypto_sw_scheduler/main.c')
-rw-r--r--src/plugins/crypto_sw_scheduler/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/crypto_sw_scheduler/main.c b/src/plugins/crypto_sw_scheduler/main.c
index 8f27fefe29a..a450bc16e8e 100644
--- a/src/plugins/crypto_sw_scheduler/main.c
+++ b/src/plugins/crypto_sw_scheduler/main.c
@@ -659,6 +659,8 @@ crypto_sw_scheduler_init (vlib_main_t * vm)
vnet_crypto_register_key_handler (vm, cm->crypto_engine_index,
crypto_sw_scheduler_key_handler);
+ crypto_sw_scheduler_api_init (vm);
+
/* *INDENT-OFF* */
#define _(n, s, k, t, a) \
vnet_crypto_register_async_handler ( \