From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 2A2DB3854154; Mon, 11 Jul 2022 11:54:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A2DB3854154 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] tcp: Add a socket option to rack X-Act-Checkin: newlib-cygwin X-Git-Author: Randall Stewart X-Git-Refname: refs/heads/master X-Git-Oldrev: d4971b646486da73e4213010115e8aa0573e389a X-Git-Newrev: b89c5a3e88c6ba876dd0d4ffedc49b17040c903c Message-Id: <20220711115440.2A2DB3854154@sourceware.org> Date: Mon, 11 Jul 2022 11:54:40 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:54:40 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Db89c5a3e88c= 6ba876dd0d4ffedc49b17040c903c commit b89c5a3e88c6ba876dd0d4ffedc49b17040c903c Author: Randall Stewart Date: Wed May 26 06:43:30 2021 -0400 tcp: Add a socket option to rack =20 so we can test various changes to the slop value in timers. =20 Timer_slop, in TCP, has been 200ms for a long time. This value dates ba= ck a long time when delayed ack timers were longer and links were slower. A 200ms timer slop allows 1 MSS to be sent over a 60kbps link. Its possib= le that lowering this value to something more in line with todays delayed ack v= alues (40ms) might improve TCP. This bit of code makes it so rack can, via a socket = option, adjust the timer slop. =20 Reviewed by: mtuexen Sponsered by: Netflix Inc Differential Revision: https://reviews.freebsd.org/D30249 Diff: --- newlib/libc/sys/rtems/include/netinet/tcp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/sys/rtems/include/netinet/tcp.h b/newlib/libc/sys/= rtems/include/netinet/tcp.h index 7ba99df51..45bece9fa 100644 --- a/newlib/libc/sys/rtems/include/netinet/tcp.h +++ b/newlib/libc/sys/rtems/include/netinet/tcp.h @@ -306,6 +306,7 @@ struct tcphdr { #define TCP_FAST_RSM_HACK 1137 /* Do we do the broken thing where we don't= twiddle the TLP bits properly in fast_rsm_output? */ #define TCP_RACK_PACING_BETA 1138 /* Changing the beta for pacing */ #define TCP_RACK_PACING_BETA_ECN 1139 /* Changing the beta for ecn with pa= cing */ +#define TCP_RACK_TIMER_SLOP 1140 /* Set or get the timer slop used */ =20 /* Start of reserved space for third-party user-settable options. */ #define TCP_VENDOR SO_VENDOR