tcp: fast retransmit improvements 26/15426/18
authorFlorin Coras <fcoras@cisco.com>
Fri, 19 Oct 2018 23:26:24 +0000 (16:26 -0700)
committerDamjan Marion <dmarion@me.com>
Tue, 23 Oct 2018 19:35:51 +0000 (19:35 +0000)
commitbf4d5ce58435d3f424749ff69650ea67ce778f04
tree35470ff4780c23a60ff0bf8c2680c73be7f6978f
parentf87eb9b3722f38112de6bc823527438e2a521bc0
tcp: fast retransmit improvements

Patch is too large to be ported to 18.10 just days before release.

- handle fast retransmits outside of established node and limit the
retransmit burst size to avoid tx losses and worsening congestion.
- in the absance of a tx pacer, use slow start after fast retransmit
exists
- add fast retransmit heuristic that re-retries sending the first
segment if everything else fails
- fine tuning

Change-Id: I84a2ab8fbba8b97f1d2b26584dc11a1e2c33c8d2
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/tcp/tcp.c
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_debug.h
src/vnet/tcp/tcp_input.c
src/vnet/tcp/tcp_output.c