Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c266 static __always_inline void bictcp_update(struct bictcp *ca, __u32 cwnd, in bictcp_update() argument
274 if (ca->last_cwnd == cwnd && in bictcp_update()
285 ca->last_cwnd = cwnd; in bictcp_update()
291 ca->tcp_cwnd = cwnd; /* syn with cubic */ in bictcp_update()
293 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
295 ca->bic_origin_point = cwnd; in bictcp_update()
301 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
339 if (bic_target > cwnd) { in bictcp_update()
340 ca->cnt = cwnd / (bic_target - cwnd); in bictcp_update()
342 ca->cnt = 100 * cwnd; /* very small increment*/ in bictcp_update()
[all …]