]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning
authorPriyaranjan Jha <priyarjha@google.com>
Wed, 23 Jan 2019 20:04:53 +0000 (12:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jan 2019 06:27:26 +0000 (22:27 -0800)
commit9feda959cd6d26e07fc11c48cc123958db7dcb21
tree15aca23099d233eb0ec713256a0eaa1da4cf5cd3
parentd5c1011ea2601138255013d261dd8f15b4c7d14a
tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning

Because bbr_target_cwnd() is really a general-purpose BBR helper for
computing some volume of inflight data as a function of the estimated
BDP, refactor it into following helper functions:
- bbr_bdp()
- bbr_quantization_budget()
- bbr_inflight()

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