Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A 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 …]
H A 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()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c83 __u32 last_max_cwnd; /* last maximum snd_cwnd */ member
105 ca->last_max_cwnd = 0; in bictcp_reset()
298 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
306 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
307 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
354 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update()
414 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in BPF_PROG()
415 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_PROG()
418 ca->last_max_cwnd = tp->snd_cwnd; in BPF_PROG()