aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_stacks/tcp_bbr.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2021-05-06 15:22:26 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2021-06-08 23:56:18 +0000
commita7619988ebc23fc4db80cddec7c13627f4bb80fe (patch)
tree5d5ad46dcd81d792684ccdebce48586f17c8942f /sys/netinet/tcp_stacks/tcp_bbr.h
parent39b87f051506f5d77ab5fa5ece948a73d4e91809 (diff)
downloadsrc-a7619988ebc23fc4db80cddec7c13627f4bb80fe.tar.gz
src-a7619988ebc23fc4db80cddec7c13627f4bb80fe.zip
This brings into sync FreeBSD with the netflix versions of rack and bbr.
This fixes several breakages (panics) since the tcp_lro code was committed that have been reported. Quite a few new features are now in rack (prefecting of DGP -- Dynamic Goodput Pacing among the largest). There is also support for ack-war prevention. Documents comming soon on rack.. Sponsored by: Netflix Reviewed by: rscheff, mtuexen Differential Revision: https://reviews.freebsd.org/D30036 (cherry picked from commit 5d8fd932e418f03e98b3469c4088a36f0ef34ffe)
Diffstat (limited to 'sys/netinet/tcp_stacks/tcp_bbr.h')
-rw-r--r--sys/netinet/tcp_stacks/tcp_bbr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_stacks/tcp_bbr.h b/sys/netinet/tcp_stacks/tcp_bbr.h
index 30b897cff218..b5fd3e9b946b 100644
--- a/sys/netinet/tcp_stacks/tcp_bbr.h
+++ b/sys/netinet/tcp_stacks/tcp_bbr.h
@@ -71,7 +71,7 @@ struct bbr_sendmap {
uint32_t r_del_time; /* The time of the last delivery update */
uint8_t r_rtr_cnt:4, /* Retran count, index this -1 to get time
* sent */
- unused_bit:1,
+ r_rtt_not_allowed:1, /* No rtt measurement allowed */
r_is_drain:1, /* In a draining cycle */
r_app_limited:1,/* We went app limited */
r_ts_valid:1; /* Timestamp field is valid (r_del_ack_ts) */
@@ -588,9 +588,9 @@ struct bbr_control {
uint32_t rc_reorder_ts; /* Last time we saw reordering Lock(a) */
uint32_t rc_init_rwnd; /* Initial rwnd when we transitioned */
- /*- ---
+ /*- ---
* used only initial and close
- */
+ */
uint32_t rc_high_rwnd; /* Highest rwnd seen */
uint32_t rc_lowest_rtt; /* Smallest RTT we have seen */