Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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 (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 …]
H A Dtcp_cubic.c86 u32 last_max_cwnd; /* last maximum snd_cwnd */ member
108 ca->last_max_cwnd = 0; in bictcp_reset()
247 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
255 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
256 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
303 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update()
356 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in bictcp_recalc_ssthresh()
357 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
360 ca->last_max_cwnd = tp->snd_cwnd; in bictcp_recalc_ssthresh()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c75 __u32 last_max_cwnd; /* last maximum snd_cwnd */ member
97 ca->last_max_cwnd = 0; in bictcp_reset()
299 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
307 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
308 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update()
355 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_STRUCT_OPS()
415 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_STRUCT_OPS()
418 ca->last_max_cwnd = tp->snd_cwnd; in BPF_STRUCT_OPS()