Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv4/
Dtcp_dctcp.c59 static unsigned int dctcp_shift_g __read_mostly = 4; /* g = 1/2^4 */
60 module_param(dctcp_shift_g, uint, 0644);
61 MODULE_PARM_DESC(dctcp_shift_g, "parameter g for updating dctcp_alpha");
125 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
132 delivered_ce <<= (10 - dctcp_shift_g); in dctcp_update_alpha()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
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); in BPF_PROG()
137 delivered_ce <<= (10 - dctcp_shift_g); in BPF_PROG()