From nobody Sat Aug 10 10:21:27 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wgxdg4rMqz5SWJm; Sat, 10 Aug 2024 10:21:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wgxdg47gbz4q2Q; Sat, 10 Aug 2024 10:21:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723285287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ikpZcMguvqjl0sntgJKvZUW1DE2oFpNOAqOtPLOGc4c=; b=RLdVBbn2wq6PbC36o/UTGSaqFecv1TI9khoJV4I9qLcUyrgfGjcozicqLopLSNUEuPHLEb tl8uZqMhRyXj0aUfqGQuQMA94yt1aBSrvZ0Dril+9JzzaJ09c2PiIpzmuZb7eNUGYNJemn ohovc0lepbkHT682m3ZdJSrw+aSS+Xj+4t2WHntDhQufff6bj07f+tCBbLckWtoJ1VyEgT b6uCs/PHkBl4GHq5ggw/f61WRsIkzPzudTABHoDGD/p2kuf9a9nqmfoDXidmKk2/aStO3F 7F9sYPO12+6cbRAkeOEOVvLsQPG8nw2uyg1+zdHIlUJB9mI6be7O2aTc2l0o0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723285287; a=rsa-sha256; cv=none; b=qqTNlHPEL1nDGqTdp0NFHe+FMrlfGcuazBEUyw29A84XoKw6wykCALkyJY9QKblmNRzZ9c z3ybgKCWEmW8SNEJ9qtvm2nTaQiS4MJ2LmeniIlcbz5MjByCqWxjObgjdgRLRmTvPZl5RN UP2bKoWPDEgjje1wrPA/nVcnbgEEv880AItML4XH+Aj7pR08Ae56kqXoLYrK0RF910CvK3 xvwURR2UKNg40UnspyOjXneKQKzHjpRZHRE1cQMJcSiM6r7cLEtmTgZCQf+dQ1bnMh0OaU H/QdVsuBRf03ERUnlw9gt8QJV9EW5j7dmK2ILe1WTQXBHmb7sH/DopJCirFi/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723285287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ikpZcMguvqjl0sntgJKvZUW1DE2oFpNOAqOtPLOGc4c=; b=FCG/XPhgcAbTlwbWPpnfuS+MSjk4jSj7rK7L/csov1cj8uI/c3SBlt8FFnNqpMcFFGxATJ KDM8SqQLCUNpVCGA2xTHwCQ1aPkSQ2Btt5ewy4aMTCVzQ3B2pq1ee3R9uyuzcVQ3BEeu1G mvjyJKUZjuH9dLLyoXFznJLE+76eGcntPnOBvwk4/i8jz9Uv4bSWENqQYaam4wSm3w5pf5 AGaIvBBPw6jhs041scDJnTCYxm01WiXU4AUaO7sp5HIRMHlPWt2O4I3s7ECfBuwhbCXu76 S/X0wxSzwI0eurf6hrqqbKdSXIrh55EXgWUm89fyFA/MzxrPaZ/AXmo0myGdAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wgxdg3hYxzwnH; Sat, 10 Aug 2024 10:21:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47AALRYk009489; Sat, 10 Aug 2024 10:21:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47AALRUg009486; Sat, 10 Aug 2024 10:21:27 GMT (envelope-from git) Date: Sat, 10 Aug 2024 10:21:27 GMT Message-Id: <202408101021.47AALRUg009486@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: c23c718ed637 - stable/14 - tcpsso: add example to man page List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c23c718ed63763aabad0b5bef828fcd374d2c4d0 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=c23c718ed63763aabad0b5bef828fcd374d2c4d0 commit c23c718ed63763aabad0b5bef828fcd374d2c4d0 Author: Michael Tuexen AuthorDate: 2024-08-03 17:59:06 +0000 Commit: Michael Tuexen CommitDate: 2024-08-10 10:21:08 +0000 tcpsso: add example to man page Describe how to switch the TCP stack on all endpoints in the LISTEN state. Reviewed by: concussious.bugzilla_runbox.com Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46218 (cherry picked from commit 5c44e69d2f3d2404f39c552448173a9bd62bd651) --- usr.sbin/tcpsso/tcpsso.8 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/usr.sbin/tcpsso/tcpsso.8 b/usr.sbin/tcpsso/tcpsso.8 index 37968c8afa54..9bff621fc516 100644 --- a/usr.sbin/tcpsso/tcpsso.8 +++ b/usr.sbin/tcpsso/tcpsso.8 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 14, 2024 +.Dd August 3, 2024 .Dt TCPSSO 8 .Os .Sh NAME @@ -229,11 +229,17 @@ Then, use the following command to enable Black Box Logging on it: # tcpsso -i 435 TCP_LOG 4 .Ed .Pp -To switch all TCP endpoints from using the freebsd stack to the rack stack use: +To switch all TCP endpoints from using the freebsd stack to the RACK stack use: .Bd -literal -offset indent # tcpsso -S freebsd TCP_FUNCTION_BLK rack .Ed .Pp +All TCP endpoints in the LISTEN state can be switched to the RACK stack by +using: +.Bd -literal -offset indent +# tcpsso -s LISTEN TCP_FUNCTION_BLK rack +.Ed +.Pp The following command will set the congestion control module of all TCP endpoints currently using cubic as its congestion control algorithm to the congestion control algorithm newreno: