Skip to content

Commit 296e332

Browse files
Refine BBRv3 patches
Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
1 parent 3c24b5a commit 296e332

24 files changed

Lines changed: 66 additions & 487 deletions

File tree

PATCH/BBRv3/kernel/010-bbr3-0001-net-tcp_bbr-broaden-app-limited-rate-sample-detectio.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 8f02746d442e04734984510d49cb703b4af8a91b Mon Sep 17 00:00:00 2001
1+
From ee5316263c5ba74198729ad83aeef714a11b767b Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Tue, 11 Jun 2019 12:26:55 -0400
4-
Subject: [PATCH 01/23] net-tcp_bbr: broaden app-limited rate sample detection
4+
Subject: [PATCH 01/21] net-tcp_bbr: broaden app-limited rate sample detection
55

66
This commit is a bug fix for the Linux TCP app-limited
77
(application-limited) logic that is used for collecting rate

PATCH/BBRv3/kernel/010-bbr3-0002-net-tcp_bbr-v2-shrink-delivered_mstamp-first_tx_msta.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 955df87f53c7b4519534d795fc47389df11813a7 Mon Sep 17 00:00:00 2001
1+
From 6c3b493c130425c182198467e1b53df3e3fcf6cb Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Sun, 24 Jun 2018 21:55:59 -0400
4-
Subject: [PATCH 02/23] net-tcp_bbr: v2: shrink delivered_mstamp,
4+
Subject: [PATCH 02/21] net-tcp_bbr: v2: shrink delivered_mstamp,
55
first_tx_mstamp to u32 to free up 8 bytes
66

77
Free up some space for tracking inflight and losses for each

PATCH/BBRv3/kernel/010-bbr3-0003-net-tcp_bbr-v2-snapshot-packets-in-flight-at-transmi.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 85a795dfc3c36ee86a7db11b16e5a9bee49a9c94 Mon Sep 17 00:00:00 2001
1+
From 6c8b2fee61ff1cfe0c6d58bee1167263adfaa147 Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Sat, 5 Aug 2017 11:49:50 -0400
4-
Subject: [PATCH 03/23] net-tcp_bbr: v2: snapshot packets in flight at transmit
4+
Subject: [PATCH 03/21] net-tcp_bbr: v2: snapshot packets in flight at transmit
55
time and pass in rate_sample
66

77
CC algorithms may want to snapshot the number of packets in flight at

PATCH/BBRv3/kernel/010-bbr3-0004-net-tcp_bbr-v2-count-packets-lost-over-TCP-rate-samp.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 2065525b978247b5bf7cd5086856196e6ec49d8d Mon Sep 17 00:00:00 2001
1+
From 279e65d7ed83383ff3b129e7f418a46e93637e25 Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Thu, 12 Oct 2017 23:44:27 -0400
4-
Subject: [PATCH 04/23] net-tcp_bbr: v2: count packets lost over TCP rate
4+
Subject: [PATCH 04/21] net-tcp_bbr: v2: count packets lost over TCP rate
55
sampling interval
66

77
For understanding the relationship between inflight and packet loss

PATCH/BBRv3/kernel/010-bbr3-0005-net-tcp_bbr-v2-export-FLAG_ECE-in-rate_sample.is_ece.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 4b14c2af997dbd6f246ed2f1eb72d889e8a22c53 Mon Sep 17 00:00:00 2001
1+
From 1c819004ff8e2470bd599304a22deb4e8e7da789 Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Mon, 19 Nov 2018 13:48:36 -0500
4-
Subject: [PATCH 05/23] net-tcp_bbr: v2: export FLAG_ECE in rate_sample.is_ece
4+
Subject: [PATCH 05/21] net-tcp_bbr: v2: export FLAG_ECE in rate_sample.is_ece
55

66
For understanding the relationship between inflight and ECN signals,
77
to try to find the highest inflight value that has acceptable levels

PATCH/BBRv3/kernel/010-bbr3-0006-net-tcp_bbr-v2-introduce-ca_ops-skb_marked_lost-CC-m.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 2f6b483516731a24a1153bc2a9cbf126cbea65dc Mon Sep 17 00:00:00 2001
1+
From 92cc6148b75351640fa820dedf61dfef59d7b9f0 Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Tue, 7 Aug 2018 21:52:06 -0400
4-
Subject: [PATCH 06/23] net-tcp_bbr: v2: introduce ca_ops->skb_marked_lost() CC
4+
Subject: [PATCH 06/21] net-tcp_bbr: v2: introduce ca_ops->skb_marked_lost() CC
55
module callback API
66

77
For connections experiencing reordering, RACK can mark packets lost

PATCH/BBRv3/kernel/010-bbr3-0007-net-tcp_bbr-v2-adjust-skb-tx.in_flight-upon-merge-in.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From c1de461232f438ca59e66173c4f0a111b26a1eab Mon Sep 17 00:00:00 2001
1+
From af3ff4671302c4a1eb90bb31611879bb6072e49d Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Wed, 1 May 2019 20:16:33 -0400
4-
Subject: [PATCH 07/23] net-tcp_bbr: v2: adjust skb tx.in_flight upon merge in
4+
Subject: [PATCH 07/21] net-tcp_bbr: v2: adjust skb tx.in_flight upon merge in
55
tcp_shifted_skb()
66

77
When tcp_shifted_skb() updates state as adjacent SACKed skbs are

PATCH/BBRv3/kernel/010-bbr3-0008-net-tcp_bbr-v2-adjust-skb-tx.in_flight-upon-split-in.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 386d4b3fc1fbe32b534117d0d339d0411d45828a Mon Sep 17 00:00:00 2001
1+
From 2db599c7a175276638aa9179ff7ce0de8610e096 Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Wed, 1 May 2019 20:16:25 -0400
4-
Subject: [PATCH 08/23] net-tcp_bbr: v2: adjust skb tx.in_flight upon split in
4+
Subject: [PATCH 08/21] net-tcp_bbr: v2: adjust skb tx.in_flight upon split in
55
tcp_fragment()
66

77
When we fragment an skb that has already been sent, we need to update

PATCH/BBRv3/kernel/010-bbr3-0009-net-tcp-add-new-ca-opts-flag-TCP_CONG_WANTS_CE_EVENT.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 86e3732c0ec7939ab5500270885308ceb238a27a Mon Sep 17 00:00:00 2001
1+
From d89ac2278c715f20378c8b22c707f4a768f86d13 Mon Sep 17 00:00:00 2001
22
From: Yousuk Seung <ysseung@google.com>
33
Date: Wed, 23 May 2018 17:55:54 -0700
4-
Subject: [PATCH 09/23] net-tcp: add new ca opts flag TCP_CONG_WANTS_CE_EVENTS
4+
Subject: [PATCH 09/21] net-tcp: add new ca opts flag TCP_CONG_WANTS_CE_EVENTS
55

66
Add a a new ca opts flag TCP_CONG_WANTS_CE_EVENTS that allows a
77
congestion control module to receive CE events.

PATCH/BBRv3/kernel/010-bbr3-0010-net-tcp-re-generalize-TSO-sizing-in-TCP-CC-module-AP.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 120a19c6ce514c4c889763b1603e1727619785ff Mon Sep 17 00:00:00 2001
1+
From c54e85537abd076d1c87a49323a65a1c2980748d Mon Sep 17 00:00:00 2001
22
From: Neal Cardwell <ncardwell@google.com>
33
Date: Fri, 27 Sep 2019 17:10:26 -0400
4-
Subject: [PATCH 10/23] net-tcp: re-generalize TSO sizing in TCP CC module API
4+
Subject: [PATCH 10/21] net-tcp: re-generalize TSO sizing in TCP CC module API
55

66
Reorganize the API for CC modules so that the CC module once again
77
gets complete control of the TSO sizing decision. This is how the API
@@ -19,10 +19,10 @@ large cwnd, and thus large pacing rate and large TSO burst size.
1919

2020
Change-Id: Ic8ccfdbe4010ee8d4bf6a6334c48a2fceb2171ea
2121
---
22-
include/net/tcp.h | 4 ++--
22+
include/net/tcp.h | 3 +++
2323
net/ipv4/tcp_bbr.c | 37 ++++++++++++++++++++++++++-----------
2424
net/ipv4/tcp_output.c | 11 +++++------
25-
3 files changed, 33 insertions(+), 19 deletions(-)
25+
3 files changed, 34 insertions(+), 17 deletions(-)
2626

2727
diff --git a/include/net/tcp.h b/include/net/tcp.h
2828
index 2a7632c87..484e3bcfc 100644

0 commit comments

Comments
 (0)