From 1caf7f11c0197a912ccc28e67e4e9af75323af80 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 16 Jul 2020 10:05:02 -0700 Subject: tcp: track pending timers Also removes delack timer and reuses the u32 for the pending timers list. Type: fix Ticket: VPP-1923 Signed-off-by: Florin Coras Change-Id: I4edbb72d5b2aa5e14f87659f49e675af1e834aca --- src/vnet/tcp/tcp_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/tcp/tcp_types.h') diff --git a/src/vnet/tcp/tcp_types.h b/src/vnet/tcp/tcp_types.h index 8b599400b8c..3cf4e9e33ef 100644 --- a/src/vnet/tcp/tcp_types.h +++ b/src/vnet/tcp/tcp_types.h @@ -62,7 +62,6 @@ typedef enum _tcp_state /** TCP timers */ #define foreach_tcp_timer \ _(RETRANSMIT, "RETRANSMIT") \ - _(DELACK, "DELAYED ACK") \ _(PERSIST, "PERSIST") \ _(WAITCLOSE, "WAIT CLOSE") \ _(RETRANSMIT_SYN, "RETRANSMIT SYN") \ @@ -281,6 +280,7 @@ typedef struct _tcp_connection u8 cfg_flags; /**< Connection configuration flags */ u16 flags; /**< Connection flags (see tcp_conn_flags_e) */ u32 timers[TCP_N_TIMERS]; /**< Timer handles into timer wheel */ + u32 pending_timers; /**< Expired timers not yet handled */ u64 segs_in; /** RFC4022/4898 tcpHCInSegs/tcpEStatsPerfSegsIn */ u64 bytes_in; /** RFC4898 tcpEStatsPerfHCDataOctetsIn */ -- cgit 1.2.3-korg