session tls: improve app transports tx scheduling 85/25485/8
authorFlorin Coras <fcoras@cisco.com>
Thu, 27 Feb 2020 04:32:51 +0000 (04:32 +0000)
committerDave Barach <openvpp@barachs.net>
Sat, 4 Apr 2020 17:34:13 +0000 (17:34 +0000)
commited8db52539a8d8239a9a43bea53328d25eb47f0d
treef0bd25f356fa2f10aaab8e51eff3dfc3fd7637ec
parent3e07a4a1e843267892dc291a833d93bd70597011
session tls: improve app transports tx scheduling

Type: improvement

- allow apps to request rescheduling of tx events via
SESSION_F_CUSTOM_TX flag
- limit max burst per session custom tx dispatch

In tls
- use the new infra to reschedule tx events
- use max burst bytes as upper limit to number of bytes to be encrypted

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I544a5a3337af7ebdff3406b776adf30cf96ebf3c
src/plugins/tlsmbedtls/tls_mbedtls.c
src/plugins/tlsopenssl/tls_openssl.c
src/plugins/tlspicotls/tls_picotls.c
src/vnet/session/session_node.c
src/vnet/session/transport.h
src/vnet/tls/tls.c
src/vnet/tls/tls.h