• David Howells's avatar
    rxrpc: Reduce the number of ACK-Requests sent · 0d4b103c
    David Howells authored
    Reduce the number of ACK-Requests we set on DATA packets that we're sending
    to reduce network traffic.  We set the flag on odd-numbered DATA packets to
    start off the RTT cache until we have at least three entries in it and then
    probe once per second thereafter to keep it topped up.
    
    This could be made tunable in future.
    
    Note that from this point, the RXRPC_REQUEST_ACK flag is set on DATA
    packets as we transmit them and not stored statically in the sk_buff.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    0d4b103c
output.c 10.6 KB