From abdc7dfb5f2a335744296ba4d01955c8f3c11f62 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sun, 6 Oct 2019 14:06:14 -0700 Subject: tcp: improve pacing after idle send periods Rest pacer on ack reception if we haven't recently sent anything. Type: feature Change-Id: I820bacd81b65130052dfafbfcbe6ca4553069fbc Signed-off-by: Florin Coras (cherry picked from commit c31dc31f84961033ecb6354811e0c360b6cf5f79) --- src/vnet/tcp/tcp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/tcp/tcp.h') diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index a31c46cdacf..5e683f72dbd 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -372,6 +372,7 @@ typedef struct _tcp_connection u32 prr_start; /**< snd_una when prr starts */ u32 rxt_delivered; /**< Rxt bytes delivered during current cc event */ u32 rxt_head; /**< snd_una last time we re rxted the head */ + u32 prev_dsegs_out; /**< Number of dsegs after last ack */ u32 tsecr_last_ack; /**< Timestamp echoed to us in last healthy ACK */ u32 snd_congestion; /**< snd_una_max when congestion is detected */ u32 tx_fifo_size; /**< Tx fifo size. Used to constrain cwnd */ -- cgit 1.2.3-korg