• Florian Westphal's avatar
    dctcp: update cwnd on congestion event · 47805667
    Florian Westphal authored
    draft-ietf-tcpm-dctcp-02 says:
    
    ... when the sender receives an indication of congestion
    (ECE), the sender SHOULD update cwnd as follows:
    
             cwnd = cwnd * (1 - DCTCP.Alpha / 2)
    
    So, lets do this and reduce cwnd more smoothly (and faster), as per
    current congestion estimate.
    
    Cc: Lawrence Brakmo <brakmo@fb.com>
    Cc: Andrew Shewmaker <agshew@gmail.com>
    Cc: Glenn Judd <glenn.judd@morganstanley.com>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    47805667
tcp_dctcp.c 9.8 KB