Searched refs:dctcp_shift_g (Results 1 - 2 of 2) sorted by relevance

/linux-master/net/ipv4/
H A Dtcp_dctcp.c60 static unsigned int dctcp_shift_g __read_mostly = 4; /* g = 1/2^4 */
61 module_param(dctcp_shift_g, uint, 0644);
62 MODULE_PARM_DESC(dctcp_shift_g, "parameter g for updating dctcp_alpha");
143 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g);
146 /* If dctcp_shift_g == 1, a 32bit value would overflow
149 delivered_ce <<= (10 - dctcp_shift_g);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c48 static unsigned int dctcp_shift_g = 4; /* g = 1/2^4 */ variable
130 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g);
134 /* If dctcp_shift_g == 1, a 32bit value would overflow
137 delivered_ce <<= (10 - dctcp_shift_g);

Completed in 108 milliseconds