summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h
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/crypto_sw_scheduler.h
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/crypto_sw_scheduler.h')
-rw-r--r--src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h b/src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h
index 9db42ba18ce..50dd6c11830 100644
--- a/src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h
+++ b/src/plugins/crypto_sw_scheduler/crypto_sw_scheduler.h
@@ -50,6 +50,10 @@ typedef struct
extern crypto_sw_scheduler_main_t crypto_sw_scheduler_main;
+extern int crypto_sw_scheduler_set_worker_crypto (u32 worker_idx, u8 enabled);
+
+extern clib_error_t *crypto_sw_scheduler_api_init (vlib_main_t * vm);
+
#endif // __crypto_native_h__
/*