]> asedeno.scripts.mit.edu Git - linux.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)
commit232aa8ec3ed979d4716891540c03a806ecab0c37
tree15aca23099d233eb0ec713256a0eaa1da4cf5cd3
parenta1ead2ec3c098d2f94b8de8bb3f1929d27e9e7d5
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