From nobody Sat Aug 03 18:01:51 2024 X-Original-To: dev-commits-src-main@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 4WbrB73814z5SpPC; Sat, 03 Aug 2024 18:01:51 +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 4WbrB72dvmz4jqL; Sat, 3 Aug 2024 18:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722708111; 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=ZjS7GLlsdzf5Ff4roGjpO1E1NQd27PYgCG9qnLTgPA0=; b=A7UsQp5KGKTaHWFtur3IVzRZPO1lw3IcfPV3pdBy+BdGAzA4/deubOy/vS9AmqsdIQRq40 TpANKse2rGF6B0gEIHQkXOSTNJu9TgFfBGpSRxTp+SoTqpDwkbSd4bbK/9rwIbp/SIkorV 9Y63lRH9jsLLAPvpqJHB0N5jbQh/mXOgxnAEtKLXdNjeEQXeOO2D3jMwV7MHNVJu72KlbZ GjtLCXTirqWEY4o9h6DR0KyoCyK8NyFylqZ/Mk2BCP2nCzgP3XzEP69oJ4JvMxRl7AqNVw FdcWYSg5D1kmEjy3xUaE7PwbOWlbST4Rns8LllScf/hQewTTUKLL9oSzIZFYvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722708111; a=rsa-sha256; cv=none; b=kMGGW16MWbMAt+AStVhr3eKocUDbrFY/3R+8e5oZqgf5opr8fQ3EXTZQkNEgs8+KwmGMXE nPLkDzh8r0WElnO/EZ+i3UOwpMFuVkM893zB6VBQiwdOPTtKkcGgKU5Dwq7dl0Tbe2RzGz Hgp3K15gatf2xNRo+JUGYjaslIkBwjm0XNAhXmxubF2pl5gTRIjo5j5go2TD5ST9kVAg91 nhauFNJEBZuH5Zt89CH4iljL2DeLVkSqBTy6FQnstZykaORuKxVLmnOKhNv50ldqztv6+J OKPgLSeXtTtfNY3wCTHtTKvp6uk/FvVl1jyac2LOiPhhQy5FmFPHhQYIqsG0AQ== 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=1722708111; 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=ZjS7GLlsdzf5Ff4roGjpO1E1NQd27PYgCG9qnLTgPA0=; b=y1w95dcfZnMEKhXiRIiUYF07GYHAy63MH/FEPyZU9iYyqA1+tIoouzAA2C8cfdwf7QGkn+ +EAUt1iM5W41QmQWLAxwEABXOzCyff+m2Lnw+jWB1Hu/C5nqibDkaA4VCwDG7GGL3C1VM2 yuaHtURfVDyvVcMlZfuhFQz9qfhRST1q8svFCnHW2U13ybTZpYXvvahgyJn5Cl1xAGo5NA xYDGrWBdzJPUujGWsPM56E9MhuyZhzNOdhdmdZipDdLPaUhtQU5Aou/0bOmGgKTHfott3f I/XRvD843xG9DzCBN9ca3rq9Bx7cf0bCkB+af6MingjSuLUu1f4oSQ5DX7JWog== 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 4WbrB72Bk1zMRb; Sat, 3 Aug 2024 18:01:51 +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 473I1pDJ076858; Sat, 3 Aug 2024 18:01:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 473I1pH2076855; Sat, 3 Aug 2024 18:01:51 GMT (envelope-from git) Date: Sat, 3 Aug 2024 18:01:51 GMT Message-Id: <202408031801.473I1pH2076855@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: 5c44e69d2f3d - main - tcpsso: add example to man page List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 5c44e69d2f3d2404f39c552448173a9bd62bd651 Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=5c44e69d2f3d2404f39c552448173a9bd62bd651 commit 5c44e69d2f3d2404f39c552448173a9bd62bd651 Author: Michael Tuexen AuthorDate: 2024-08-03 17:59:06 +0000 Commit: Michael Tuexen CommitDate: 2024-08-03 18:01:45 +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 MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46218 --- 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: