]> git.baikalelectronics.ru Git - 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)
commitb8bc796d1f433b22b62a887297586eaa2be055b7
treea740b61075e065ba2d819b8cb83f967de61648de
parent5e4be8b53c6c27c6b7ad522d51d02804cb211805
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