Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Dtcp_bic.c51 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
62 ca->last_max_cwnd = 0; in bictcp_reset()
101 if (cwnd < ca->last_max_cwnd) { in bictcp_update()
102 __u32 dist = (ca->last_max_cwnd - cwnd) in bictcp_update()
116 if (cwnd < ca->last_max_cwnd + BICTCP_B) in bictcp_update()
119 else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1)) in bictcp_update()
122 / (cwnd - ca->last_max_cwnd); in bictcp_update()
129 if (ca->last_max_cwnd == 0) { in bictcp_update()
167 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
168 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
107 ca->last_max_cwnd = 0; in bictcp_reset()
250 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
258 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
259 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
306 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()