Searched refs:target_cwnd (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_veno.c | 140 u64 target_cwnd; in tcp_veno_cong_avoid() local 149 target_cwnd = (u64)tp->snd_cwnd * veno->basertt; in tcp_veno_cong_avoid() 150 target_cwnd <<= V_PARAM_SHIFT; in tcp_veno_cong_avoid() 151 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid() 153 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
|
H A D | tcp_vegas.c | 199 u64 target_cwnd; in tcp_vegas_cong_avoid() local 220 target_cwnd = (u64)tp->snd_cwnd * vegas->baseRTT; in tcp_vegas_cong_avoid() 221 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid() 241 tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1); in tcp_vegas_cong_avoid()
|
H A D | tcp_bbr.c | 521 u32 cwnd = tp->snd_cwnd, target_cwnd = 0; in bbr_set_cwnd() local 529 target_cwnd = bbr_bdp(sk, bw, gain); in bbr_set_cwnd() 534 target_cwnd += bbr_ack_aggregation_cwnd(sk); in bbr_set_cwnd() 535 target_cwnd = bbr_quantization_budget(sk, target_cwnd); in bbr_set_cwnd() 539 cwnd = min(cwnd + acked, target_cwnd); in bbr_set_cwnd() 540 else if (cwnd < target_cwnd || tp->delivered < TCP_INIT_CWND) in bbr_set_cwnd()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_veno.c | 140 u64 target_cwnd; in tcp_veno_cong_avoid() local 149 target_cwnd = (u64)tcp_snd_cwnd(tp) * veno->basertt; in tcp_veno_cong_avoid() 150 target_cwnd <<= V_PARAM_SHIFT; in tcp_veno_cong_avoid() 151 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid() 153 veno->diff = (tcp_snd_cwnd(tp) << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
|
H A D | tcp_vegas.c | 199 u64 target_cwnd; in tcp_vegas_cong_avoid() local 220 target_cwnd = (u64)tcp_snd_cwnd(tp) * vegas->baseRTT; in tcp_vegas_cong_avoid() 221 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid() 242 (u32)target_cwnd + 1)); in tcp_vegas_cong_avoid()
|
H A D | tcp_bbr.c | 523 u32 cwnd = tcp_snd_cwnd(tp), target_cwnd = 0; in bbr_set_cwnd() local 531 target_cwnd = bbr_bdp(sk, bw, gain); in bbr_set_cwnd() 536 target_cwnd += bbr_ack_aggregation_cwnd(sk); in bbr_set_cwnd() 537 target_cwnd = bbr_quantization_budget(sk, target_cwnd); in bbr_set_cwnd() 541 cwnd = min(cwnd + acked, target_cwnd); in bbr_set_cwnd() 542 else if (cwnd < target_cwnd || tp->delivered < TCP_INIT_CWND) in bbr_set_cwnd()
|
Completed in 6 milliseconds