net: tcp: more detailed ACK events and events for CE marked packets
authorFlorian Westphal <fw@strlen.de>
Fri, 26 Sep 2014 20:37:35 +0000 (22:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Sep 2014 04:13:10 +0000 (00:13 -0400)
commit9890092e46b2996bb85f7f973e69424cb5c07bc0
tree4cc1000c27918b9fcf63806bb5ae02cee36feeda
parent7354c8c389d18719dd71cc810da70b0921d66694
net: tcp: more detailed ACK events and events for CE marked packets

DataCenter TCP (DCTCP) determines cwnd growth based on ECN information
and ACK properties, e.g. ACK that updates window is treated differently
than DUPACK.

Also DCTCP needs information whether ACK was delayed ACK. Furthermore,
DCTCP also implements a CE state machine that keeps track of CE markings
of incoming packets.

Therefore, extend the congestion control framework to provide these
event types, so that DCTCP can be properly implemented as a normal
congestion algorithm module outside of the core stack.

Joint work with Daniel Borkmann and Glenn Judd.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Glenn Judd <glenn.judd@morganstanley.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c