From 57b2e4acb1104ac34b1c2e29309e0f5f471b42d7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 6 Jul 2021 08:25:36 -0700 Subject: tcp: use main thread pool for half-opens Type: improvement Signed-off-by: Florin Coras Change-Id: I4b3427b966f9ff1ba8895fed7db662d56650f3f5 --- src/vnet/tcp/tcp.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/vnet/tcp/tcp.h') diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index 60b9095aea2..ca650b7fa29 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -193,9 +193,6 @@ typedef struct tcp_configuration_ /** Number of preallocated connections */ u32 preallocated_connections; - /** Number of preallocated half-open connections */ - u32 preallocated_half_open_connections; - /** Maxium allowed GSO packet size */ u32 max_gso_size; @@ -224,9 +221,6 @@ typedef struct _tcp_main /** Dispatch table by state and flags */ tcp_lookup_dispatch_t dispatch_table[TCP_N_STATES][64]; - /** Pool of half-open connections on which we've sent a SYN */ - tcp_connection_t *half_open_connections; - /** Seed used to generate random iss */ tcp_iss_seed_t iss_seed; @@ -294,7 +288,7 @@ tcp_get_worker (u32 thread_index) tcp_connection_t *tcp_connection_alloc (u8 thread_index); tcp_connection_t *tcp_connection_alloc_w_base (u8 thread_index, - tcp_connection_t * base); + tcp_connection_t **base); void tcp_connection_free (tcp_connection_t * tc); void tcp_connection_close (tcp_connection_t * tc); void tcp_connection_cleanup (tcp_connection_t * tc); -- cgit 1.2.3-korg