[PATCH net-next] tcp_bbr: fix bbr pacing rate for internal pacing

2018-06-20 Thread Kevin Yang
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

[PATCH net 1/3] tcp_bbr: add bbr_check_probe_rtt_done() helper

2018-08-22 Thread Kevin Yang
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

[PATCH net 0/3] tcp_bbr: PROBE_RTT minor bug fixes

2018-08-22 Thread Kevin Yang
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 ---

[PATCH net 2/3] tcp_bbr: in restart from idle, see if we should exit PROBE_RTT

2018-08-22 Thread Kevin Yang
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/

[PATCH net 3/3] tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0

2018-08-22 Thread Kevin Yang
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