Home
last modified time | relevance | path

Searched refs:last_max_cwnd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/ipv4/
Dtcp_bic.c52 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
63 ca->last_max_cwnd = 0; in bictcp_reset()
102 if (cwnd < ca->last_max_cwnd) { in bictcp_update()
103 __u32 dist = (ca->last_max_cwnd - cwnd) in bictcp_update()
117 if (cwnd < ca->last_max_cwnd + BICTCP_B) in bictcp_update()
120 else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1)) in bictcp_update()
123 / (cwnd - ca->last_max_cwnd); in bictcp_update()
130 if (ca->last_max_cwnd == 0) { in bictcp_update()
168 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
169 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
[all …]
Dtcp_cubic.c86 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
108 ca->last_max_cwnd = 0; in bictcp_reset()
251 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
259 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
260 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
307 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update()
362 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
363 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
366 ca->last_max_cwnd = tp->snd_cwnd; in bictcp_recalc_ssthresh()