commit | f19fd62dafaf1ed6cf615dba655b82fa9df59074 | [log] [tgz] |
---|---|---|
author | Neal Cardwell <ncardwell@google.com> | Fri Jul 14 17:49:22 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 15 14:43:29 2017 -0700 |
tree | 5d1041c0f77d2893daed029c0a12566687393dcf | |
parent | 4aea287e90dd61a48268ff2994b56f9799441b62 [diff] |
tcp_bbr: introduce bbr_bw_to_pacing_rate() helper Introduce a helper to convert a BBR bandwidth and gain factor to a pacing rate in bytes per second. This is a pure refactor, but is needed for two following fixes. Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control") 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: David S. Miller <davem@davemloft.net>