Home
last modified time | relevance | path

Searched refs:target_cwnd (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/ipv4/
Dtcp_veno.c139 u64 target_cwnd; in tcp_veno_cong_avoid() local
148 target_cwnd = (u64)tp->snd_cwnd * veno->basertt; in tcp_veno_cong_avoid()
149 target_cwnd <<= V_PARAM_SHIFT; in tcp_veno_cong_avoid()
150 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()
152 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
Dtcp_vegas.c198 u64 target_cwnd; in tcp_vegas_cong_avoid() local
219 target_cwnd = (u64)tp->snd_cwnd * vegas->baseRTT; in tcp_vegas_cong_avoid()
220 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid()
240 tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1); in tcp_vegas_cong_avoid()
Dtcp_bbr.c423 u32 cwnd = tp->snd_cwnd, target_cwnd = 0; in bbr_set_cwnd() local
432 target_cwnd = bbr_target_cwnd(sk, bw, gain); in bbr_set_cwnd()
434 cwnd = min(cwnd + acked, target_cwnd); in bbr_set_cwnd()
435 else if (cwnd < target_cwnd || tp->delivered < TCP_INIT_CWND) in bbr_set_cwnd()