summaryrefslogtreecommitdiff
path: root/bpfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bpfc.c')
0 files changed, 0 insertions, 0 deletions
cgi/linux/net-next.git/tree/?h=nds-private-remove&id=0682e6902a52aca7caf6ad42551b16ea0f87bc31'>659bae32eb96d42f6b39ef8f383fa20cd37a0b0e parentb2d3ea4a730f812b9c0f67a67b6762ce66ddb17c (diff)
tcp: count packets marked lost for a TCP connection
Count the number of packets that a TCP connection marks lost. Congestion control modules can use this loss rate information for more intelligent decisions about how fast to send. Specifically, this is used in TCP BBR policer detection. BBR uses a high packet loss rate as one signal in its policer detection and policer bandwidth estimation algorithm. The BBR policer detection algorithm cannot simply track retransmits, because a retransmit can be (and often is) an indicator of packets lost long, long ago. This is particularly true in a long CA_Loss period that repairs the initial massive losses when a policer kicks in. Signed-off-by: Van Jacobson <vanj@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Nandita Dukkipati <nanditad@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--include/linux/tcp.h1
-rw-r--r--net/ipv4/tcp_input.c25
2 files changed, 25 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h