commit | 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Wed Dec 21 19:32:08 2005 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jan 03 13:11:08 2006 -0800 |
tree | 161c94fe1060d267de87a6cee04e6dc7838f2816 | |
parent | 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e [diff] |
[TCP] cubic: precompute constants Revised version of patch to pre-compute values for TCP cubic. * d32,d64 replaced with descriptive names * cube_factor replaces srtt[scaled by count] / HZ * ((1 << (10+2*BICTCP_HZ)) / bic_scale) * beta_scale replaces 8*(BICTCP_BETA_SCALE+beta)/3/(BICTCP_BETA_SCALE-beta); Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>