diff options
author | David Howells <dhowells@redhat.com> | 2017-11-24 10:18:41 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-24 10:18:41 +0000 |
commit | beb8e5e4f38cc3e4c2839cfc143e0312bf53d0e0 (patch) | |
tree | 569cde5872aa346014ee04a2fcf3b3863ba44646 /net/rxrpc/conn_service.c | |
parent | 8637abaa72fe8200a4a37579e6ec5273db85d2c1 (diff) | |
download | linux-rt-beb8e5e4f38cc3e4c2839cfc143e0312bf53d0e0.tar.gz |
rxrpc: Express protocol timeouts in terms of RTT
Express protocol timeouts for data retransmission and deferred ack
generation in terms on RTT rather than specified timeouts once we have
sufficient RTT samples.
For the moment, this requires just one RTT sample to be able to use this
for ack deferral and two for data retransmission.
The data retransmission timeout is set at RTT*1.5 and the ACK deferral
timeout is set at RTT.
Note that the calculated timeout is limited to a minimum of 4ns to make
sure it doesn't happen too quickly.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/conn_service.c')
0 files changed, 0 insertions, 0 deletions