Skip to content

Commit

Permalink
net-tcp_bbr: v2: remove cycle_rand parameter that is unused in BBRv2
Browse files Browse the repository at this point in the history
Change-Id: Iee1df7e41e42de199068d7c89131ed3d228327c0
  • Loading branch information
nealcardwell authored and xanmod committed Jun 28, 2021
1 parent cb1802b commit fe92fc6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv4/tcp_bbr2.c
Expand Up @@ -303,8 +303,6 @@ static int bbr_pacing_gain[] = {
BBR_UNIT, BBR_UNIT, BBR_UNIT, /* cruise at 1.0*bw to utilize pipe, */
BBR_UNIT, BBR_UNIT, BBR_UNIT /* without creating excess queue... */
};
/* Randomize the starting gain cycling phase over N phases: */
static u32 bbr_cycle_rand = 7;

/* Try to keep at least this many packets in flight, if things go smoothly. For
* smooth functioning, a sliding window protocol ACKing every other packet
Expand Down Expand Up @@ -395,7 +393,6 @@ module_param_named(startup_cwnd_gain, bbr_startup_cwnd_gain, int, 0644);
module_param_named(cwnd_gain, bbr_cwnd_gain, int, 0644);
module_param_array_named(pacing_gain, bbr_pacing_gain, int,
&bbr_pacing_gain_size, 0644);
module_param_named(cycle_rand, bbr_cycle_rand, uint, 0644);
module_param_named(cwnd_min_target, bbr_cwnd_min_target, uint, 0644);
module_param_named(probe_rtt_cwnd_gain,
bbr_probe_rtt_cwnd_gain, uint, 0664);
Expand Down

0 comments on commit fe92fc6

Please sign in to comment.