Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dtcp_highspeed.c19 } hstcp_aimd_vals[] = { variable
94 #define HSTCP_AIMD_MAX ARRAY_SIZE(hstcp_aimd_vals)
130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid()
131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid()
134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid()
135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid()
157 return max(tcp_snd_cwnd(tp) - ((tcp_snd_cwnd(tp) * hstcp_aimd_vals[ca->ai].md) >> 8), 2U); in hstcp_ssthresh()