Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_bic.c51 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
63 ca->last_max_cwnd = 0; in bictcp_reset()
103 if (cwnd < ca->last_max_cwnd) { in bictcp_update()
104 __u32 dist = (ca->last_max_cwnd - cwnd) in bictcp_update()
118 if (cwnd < ca->last_max_cwnd + BICTCP_B) in bictcp_update()
121 else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1)) in bictcp_update()
124 / (cwnd - ca->last_max_cwnd); in bictcp_update()
131 if (ca->last_max_cwnd == 0) { in bictcp_update()
169 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
170 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
[all …]
Dtcp_cubic.c85 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
108 ca->last_max_cwnd = 0; in bictcp_reset()
252 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
260 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
261 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
308 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update()
361 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
362 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
365 ca->last_max_cwnd = tp->snd_cwnd; in bictcp_recalc_ssthresh()