diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-03-20 14:28:44 -0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:26:49 -0700 |
commit | 371fe7779cad6557a58df9a1b5543652e067400f (patch) | |
tree | 037be0b166906ff91f2b4a7c7d11a01180a0db61 /net/core/user_dma.c | |
parent | 9bf17475eb658a920125bd8f05edf9c57c2dd950 (diff) | |
download | blackbird-op-linux-371fe7779cad6557a58df9a1b5543652e067400f.tar.gz blackbird-op-linux-371fe7779cad6557a58df9a1b5543652e067400f.zip |
[CCID3]: Use MSS for larger initial windows
This improves the slow-start phase by using the MSS
(as suggested in RFC 4342, sec. 5) instead of the packet size s.
Also figured out that __u32 is ample resource enough.
After applying, I got the following in the logs:
ccid3_hc_tx_packet_recv: client(f7421700), s=6, MSS=1424, w_init=4380, R_sample=176us, X=24886363
Had the previous variant been used, w_init would have been as low as 24.
Committer note: removed unneeded cast to unsigned long long that was
causing a compiler warning on 64bit architectures.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/user_dma.c')
0 files changed, 0 insertions, 0 deletions