Home
last modified time | relevance | path

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

/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()
169 if (tcp_snd_cwnd(tp) < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
170 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
[all …]
Dtcp_cubic.c88 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
240 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
248 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
249 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
296 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update()
349 if (tcp_snd_cwnd(tp) < ca->last_max_cwnd && fast_convergence) in cubictcp_recalc_ssthresh()
350 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in cubictcp_recalc_ssthresh()
353 ca->last_max_cwnd = tcp_snd_cwnd(tp); in cubictcp_recalc_ssthresh()