From 970a0b87bb7d7d9c16acbe9ea207a7d4c81bfaee Mon Sep 17 00:00:00 2001 From: Ping Yu Date: Thu, 19 Jul 2018 10:51:09 -0400 Subject: Add a new communication channel between VPP and openssl engine Thus when engine buffer is full during a burst in performance tesing, this code will help VPP handle retry machansim. Change-Id: I0f9fc05d3dba8a54d34dca4c6137700d6c80f714 Signed-off-by: Ping Yu --- src/plugins/tlsopenssl/tls_openssl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/tlsopenssl/tls_openssl.h') diff --git a/src/plugins/tlsopenssl/tls_openssl.h b/src/plugins/tlsopenssl/tls_openssl.h index b01814939af..c1a21e57317 100644 --- a/src/plugins/tlsopenssl/tls_openssl.h +++ b/src/plugins/tlsopenssl/tls_openssl.h @@ -55,6 +55,8 @@ tls_ctx_t *openssl_ctx_get_w_thread (u32 ctx_index, u8 thread_index); openssl_tls_callback_t *vpp_add_async_pending_event (tls_ctx_t * ctx, openssl_resume_handler * handler); +int vpp_add_async_run_event (tls_ctx_t * ctx, openssl_resume_handler * + handler); void openssl_polling_start (ENGINE * engine); int openssl_engine_register (char *engine, char *alg); void openssl_async_node_enable_disable (u8 is_en); -- cgit 1.2.3-korg