From 7d76878ab3eea9d233d569d9b714a40924fbaa8b Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 15 Oct 2018 21:35:42 -0700 Subject: tls: fix multi threaded medium scale test (VPP-1457) - ensure session enqueue epoch does not wrap between two enqueues - use 3 states for echo clients app, to distinguish between starting and closing phases - force tcp fin retransmit if out of buffers while sending a fin Change-Id: I6f2cab46affd1148aba2a33fb6d58bcc54f32805 Signed-off-by: Florin Coras --- src/vnet/session-apps/echo_client.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vnet/session-apps/echo_client.h') diff --git a/src/vnet/session-apps/echo_client.h b/src/vnet/session-apps/echo_client.h index db5ba163628..2270720dcda 100644 --- a/src/vnet/session-apps/echo_client.h +++ b/src/vnet/session-apps/echo_client.h @@ -105,6 +105,12 @@ typedef struct vlib_main_t *vlib_main; } echo_client_main_t; +enum +{ + ECHO_CLIENTS_STARTING, + ECHO_CLIENTS_RUNNING, + ECHO_CLIENTS_EXITING +} echo_clients_test_state_e; extern echo_client_main_t echo_client_main; vlib_node_registration_t echo_clients_node; -- cgit 1.2.3-korg