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
committerRandall Stewart <rrs@FreeBSD.org>2021-05-06 15:22:26 +0000
commit5d8fd932e418f03e98b3469c4088a36f0ef34ffe (patch)
tree9225b312ab69f7032e8e0f2b75b036751f90d80c /sys/netinet/tcp_stacks/tcp_bbr.h
parent0ec3e991112d85a790ca3bbb4175652f37f4bd15 (diff)
downloadsrc-5d8fd932e418f03e98b3469c4088a36f0ef34ffe.tar.gz
src-5d8fd932e418f03e98b3469c4088a36f0ef34ffe.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
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 */