tcp: improve rate estimate 68/20368/6
authorFlorin Coras <fcoras@cisco.com>
Wed, 26 Jun 2019 16:12:34 +0000 (09:12 -0700)
committerJohn Lo <loj@cisco.com>
Wed, 10 Jul 2019 22:17:36 +0000 (22:17 +0000)
commit85fc13004df7f67012a04e73564ecef1b3641ef3
treecc50b441d83b6c86ebeb1db51ff66dee83e9e2a4
parentadbaf7bc2e301e591d63fae47f0a9bbb1577494e
tcp: improve rate estimate

Type:feature

- sample rtt estimation
- report acked+sacked
- report last lost bytes
- use snd_una == snd_nxt to detect 0 bytes in flight

Change-Id: I83181261fdb375c7e33d24b7a82343561e6a905f
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/plugins/unittest/tcp_test.c
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_bt.c