Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_illinois.c50 u32 alpha; /* Additive increase */ member
73 ca->alpha = ALPHA_MAX; in tcp_illinois_init()
140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() function
153 return ca->alpha; in alpha()
228 ca->alpha = ALPHA_BASE; in update_params()
234 ca->alpha = alpha(ca, da, dm); in update_params()
249 ca->alpha = ALPHA_BASE; in tcp_illinois_state()
286 delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; in tcp_illinois_cong_avoid()
Dtcp_dctcp.c119 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
123 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
133 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
139 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tcp_snd_cwnd(tp) - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
195 if (!ca->alpha) in htcp_alpha_update()
196 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tcp_snd_cwnd(tp)) { in htcp_cong_avoid()
262 ca->alpha = ALPHA_BASE; in htcp_init()
Dtcp_vegas.c44 static int alpha = 2; variable
48 module_param(alpha, int, 0644);
49 MODULE_PARM_DESC(alpha, "lower bound of packets in network");
261 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
DKconfig526 modeswitch to change the alpha and beta parameters of TCP Reno
624 adjust the alpha and beta parameters to achieve a higher average
/net/sched/
Dsch_pie.c178 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
307 u64 alpha, beta; in pie_calculate_probability() local
337 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
344 alpha >>= 1; in pie_calculate_probability()
350 alpha >>= 2; in pie_calculate_probability()
357 delta += alpha * (qdelay - params->target); in pie_calculate_probability()
477 nla_put_u32(skb, TCA_PIE_ALPHA, q->params.alpha) || in pie_dump()
Dsch_fq_pie.c337 q->p_params.alpha = nla_get_u32(tb[TCA_FQ_PIE_ALPHA]); in fq_pie_change()
481 nla_put_u32(skb, TCA_FQ_PIE_ALPHA, q->p_params.alpha) || in fq_pie_dump()