]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_bbr: centralize code to set gains
authorNeal Cardwell <ncardwell@google.com>
Wed, 17 Oct 2018 00:16:45 +0000 (20:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 05:22:53 +0000 (22:22 -0700)
commit22136b3a6578ac242c8e51ad2e6c21c97258c764
tree1a9d6fa2975b79b7647e5ddf4f0040cde3781286
parent32c4cdd493e1d28860b5ada1a7fbb1a7ce9ea869
tcp_bbr: centralize code to set gains

Centralize the code that sets gains used for computing cwnd and pacing
rate. This simplifies the code and makes it easier to change the state
machine or (in the future) dynamically change the gain values and
ensure that the correct gain values are always used.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_bbr.c