aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cubic.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_cubic.c')
-rw-r--r--net/ipv4/tcp_cubic.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c
index 5ce6cd85680b..9a582fb4ef9f 100644
--- a/net/ipv4/tcp_cubic.c
+++ b/net/ipv4/tcp_cubic.c
@@ -26,16 +26,16 @@
26 */ 26 */
27#define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */ 27#define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
28 28
29static int fast_convergence = 1; 29static int fast_convergence __read_mostly = 1;
30static int max_increment = 16; 30static int max_increment __read_mostly = 16;
31static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ 31static int beta __read_mostly = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
32static int initial_ssthresh = 100; 32static int initial_ssthresh __read_mostly = 100;
33static int bic_scale = 41; 33static int bic_scale __read_mostly = 41;
34static int tcp_friendliness = 1; 34static int tcp_friendliness __read_mostly = 1;
35 35
36static u32 cube_rtt_scale; 36static u32 cube_rtt_scale __read_mostly;
37static u32 beta_scale; 37static u32 beta_scale __read_mostly;
38static u64 cube_factor; 38static u64 cube_factor __read_mostly;
39 39
40/* Note parameters that are used for precomputing scale factors are read-only */ 40/* Note parameters that are used for precomputing scale factors are read-only */
41module_param(fast_convergence, int, 0644); 41module_param(fast_convergence, int, 0644);