This patch add a helper function bbr_check_probe_rtt_done() to
1. check the condition to see if bbr should exit probe_rtt mode;
2. process the logic of exiting probe_rtt mode.
Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control")
Signed-off-by: Kevin Yang
Signed-off-by: Nea
cap even if the count of fully-ACKed
packets is 0.
Kevin Yang (3):
tcp_bbr: add bbr_check_probe_rtt_done() helper
tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0
net/ipv4/tcp_bbr.c | 42 ---
Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control")
Signed-off-by: Kevin Yang
Signed-off-by: Neal Cardwell
Reviewed-by: Yuchung Cheng
Reviewed-by: Soheil Hassas Yeganeh
---
net/ipv4/tcp_bbr.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/ipv4/tcp_bbr.c b/net/ipv4/
for PROBE_RTT.
The fix is to instead make sure that even when 0 full packets are
ACKed, we do apply all the appropriate caps, including the cap that
applies in PROBE_RTT mode.
Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control")
Signed-off-by: Kevin Yang
Signed-off-by: Nea
delays.
Signed-off-by: Kevin Yang
Signed-off-by: Eric Dumazet
Reviewed-by: Neal Cardwell
---
include/net/tcp.h | 11 +++
net/ipv4/tcp_bbr.c| 6 +-
net/ipv4/tcp_output.c | 14 --
3 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/include/net/tcp.h b