diff options
author | Florin Coras <fcoras@cisco.com> | 2021-07-06 08:25:36 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2021-07-06 14:53:44 -0700 |
commit | 57b2e4acb1104ac34b1c2e29309e0f5f471b42d7 (patch) | |
tree | 19b327e6f24f1930d19f747d3f7535d0852edf91 /src/vnet/tcp/tcp.h | |
parent | 3169e9ff1ef673402aa05332096fb877ca2f4b25 (diff) |
tcp: use main thread pool for half-opens
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4b3427b966f9ff1ba8895fed7db662d56650f3f5
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r-- | src/vnet/tcp/tcp.h | 8 |
1 files changed, 1 insertions, 7 deletions
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); |