Home
last modified time | relevance | path

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

/tools/testing/selftests/net/packetdrill/
A Dtcp_slow_start_slow-start-ack-per-2pkt-send-5pkt.pkt3 // less than the current cwnd, and not big enough to bump up cwnd.
27 +0 %{ assert tcpi_snd_cwnd == 10, 'cwnd=%d' % tcpi_snd_cwnd }%
30 +0 %{ assert tcpi_snd_cwnd == 10, 'cwnd=%d' % tcpi_snd_cwnd }%
33 +0 %{ assert tcpi_snd_cwnd == 10, 'cwnd=%d' % tcpi_snd_cwnd }%
A Dtcp_slow_start_slow-start-ack-per-2pkt-send-6pkt.pkt3 // less than the current cwnd, but still big enough that in slow
4 // start we want to increase our cwnd a little.
28 +0 %{ assert tcpi_snd_cwnd == 12, 'cwnd=%d' % tcpi_snd_cwnd }%
31 +0 %{ assert tcpi_snd_cwnd == 12, 'cwnd=%d' % tcpi_snd_cwnd }%
34 +0 %{ assert tcpi_snd_cwnd == 12, 'cwnd=%d' % tcpi_snd_cwnd }%
A Dtcp_slow_start_slow-start-app-limited-9-packets-out.pkt3 // with IW10, if we don't fully use our cwnd but instead
4 // send just 9 packets, then cwnd should grow to twice that
A Dtcp_slow_start_slow-start-fq-ack-per-2pkt.pkt3 // the cwnd continues to grow, even if TSQ triggers.
41 // (FQ commit allows an application/cwnd limited flow to get at most quantum/2 extra credit)
63 +0 %{ assert tcpi_snd_cwnd == 20, 'cwnd=%d' % tcpi_snd_cwnd }%
A Dtcp_slow_start_slow-start-after-idle.pkt3 // This test expects tso size to be at least initial cwnd * mss
34 // If slow start after idle works properly, we should send 5 MSS here (cwnd/2)
A Dtcp_slow_start_slow-start-app-limited.pkt3 // with IW10, if we send exactly 10 packets then cwnd should grow to 20.
A Dtcp_slow_start_slow-start-ack-per-4pkt.pkt3 // the cwnd continues to grow.
A Dtcp_slow_start_slow-start-ack-per-2pkt.pkt3 // the cwnd continues to grow.
A Dtcp_slow_start_slow-start-after-win-update.pkt3 // This test expects tso size to be at least initial cwnd * mss
A Dtcp_slow_start_slow-start-ack-per-1pkt.pkt3 // the cwnd continues to grow.
A Dtcp_tcp_info_tcp-info-sndbuf-limited.pkt25 // cwnd goes from 40(60KB) to 80(120KB), and that we hit the tiny sndbuf limit 10KB
A Dtcp_limited_transmit_limited-transmit-no-sack.pkt34 // So we revert state back to Open. Slow start cwnd from 10 to 11
/tools/testing/selftests/bpf/progs/
A Dbpf_cubic.c279 if (ca->last_cwnd == cwnd && in bictcp_update()
290 ca->last_cwnd = cwnd; in bictcp_update()
296 ca->tcp_cwnd = cwnd; /* syn with cubic */ in bictcp_update()
298 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
300 ca->bic_origin_point = cwnd; in bictcp_update()
306 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
344 if (bic_target > cwnd) { in bictcp_update()
345 ca->cnt = cwnd / (bic_target - cwnd); in bictcp_update()
364 delta = (cwnd * scale) >> 3; in bictcp_update()
372 delta = ca->tcp_cwnd - cwnd; in bictcp_update()
[all …]

Completed in 17 milliseconds