]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
dctcp: update cwnd on congestion event
authorFlorian Westphal <fw@strlen.de>
Mon, 14 Nov 2016 15:42:01 +0000 (16:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:01:58 +0000 (22:01 -0500)
commit4780566784b3968ab9fd6cc94bab72421813f004
treea740b61075e065ba2d819b8cb83f967de61648de
parent0fa1dfd6b92b31eed5446e907049d5b0062b8860
dctcp: update cwnd on congestion event

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: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_dctcp.c