Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dtcp_dctcp.c60 static unsigned int dctcp_shift_g __read_mostly = 4; /* g = 1/2^4 */
72 module_param_cb(dctcp_shift_g, &dctcp_shift_g_ops, &dctcp_shift_g, 0644); in dctcp_reset()
73 MODULE_PARM_DESC(dctcp_shift_g, "parameter g for updating dctcp_alpha"); in dctcp_reset()
154 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
157 /* If dctcp_shift_g == 1, a 32bit value would overflow in dctcp_update_alpha()
160 delivered_ce <<= (10 - dctcp_shift_g); in dctcp_update_alpha()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c56 static unsigned int dctcp_shift_g = 4; /* g = 1/2^4 */ variable
137 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
144 delivered_ce <<= (10 - dctcp_shift_g); in BPF_PROG()