From nobody Tue Aug 13 17:05:36 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 4WjySc6b5Zz5T3yX; Tue, 13 Aug 2024 17:05:36 +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 4WjySc609jz4TnG; Tue, 13 Aug 2024 17:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723568736; 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=nU20z5wWHVBuFkISlrNOH7I4syzQ3B6ChIf12rKzltc=; b=tbjTmfxoeegtc0bWSALPI9qbkbyDaTqzUshMb788CgvcHklND2yOHpm6QX2zXjxqxQsZ7z 0Kb/t0U9DjR86UZ30HLJ7aXFVwTJ6Gnm27Gq7+jRp2IJF1s8xgGHbxSX/2jRvJ2DfgWOn5 eyPs9GB4uA1tZV0tRY63KIjodWnGIjQh1Oxh0DPbNbmrqwSVnsjUFmUaW4YOrXTMC8sh9e WddMje2gjsN+yKLKDYS5TrCatfdX+3S9nfdfKeC3DVG+AUQ1zStxf0KQRngtayxjrd1wlx cGbryanVax6IXpeXAdJY1kLIaksfQyv9Veur8+0EsKJGxPPTEV6C336CPgOP9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723568736; a=rsa-sha256; cv=none; b=qKKQskqI+co9BXk8l5/oMrW2DGHMaowXcnHkiqCVPtPiCBI9crtgFWIfkXgJ2xSSoTQaKB sJPzJdEqqhjkrFjL4YX3n+NRVk9XNSSKwPfeOQOk1ITgPs2xELgtul95ZAP5Sdx7ezFzPi rjaq8ryqx6ok6WaFPqTCEh0c4kLxR7v9WvhQb7n8KjlCxuRwC21IsaAElk4n/36KrVZ+Ne /Yuica1HTT4ovkIRUwdagvdJ7K1KR0pSXB8POgh37DHoYwvU4IIQU03sewr+TEswHTAXey E8TRzNFrgLYjdgDovMH/oj7IX+XA2vsNHA0jSIKJfVvQWsbKRORUDc2ZLVRu7w== 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=1723568736; 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=nU20z5wWHVBuFkISlrNOH7I4syzQ3B6ChIf12rKzltc=; b=Ro4Xpr26jWF8ZRwSwluQBlKWfqY6HRvLvv5DAKSBvIy2qyn/7439op/R6DEvP8agkh55tG 8tuf0HId2VFaelPmBsuW22gorq3uci/L+eAwUqR4P+WmE8VBVWHbjQbuXHg4dZAL68AgMO afUsoWOXhKpZ2ss8KHIZamlez4o3zg5gCjF557Y5KgY8MXJbg4sr1mvC6V58OWFTrgWvyv Eat91T0nU6Wij5LijexLYcO/i9/gA9Wd8cJ1Aq7y3bFa7HbM88zMTUMeyO2d/nrtr/xoqb yBAcTiJEv3IwMs1HENo6hjhJ2J9jCQDt0UdS+NamHP84GArMt+1i+h2/bqp9Rw== 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 4WjySc5VN8zKPS; Tue, 13 Aug 2024 17:05:36 +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 47DH5aLI002664; Tue, 13 Aug 2024 17:05:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47DH5an9002661; Tue, 13 Aug 2024 17:05:36 GMT (envelope-from git) Date: Tue, 13 Aug 2024 17:05:36 GMT Message-Id: <202408131705.47DH5an9002661@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: f18b9b2b95fd - stable/14 - ddb: update printing of t_flags and tflags2 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: f18b9b2b95fd5feeb5372a8e0d2ff1eb0bd64891 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=f18b9b2b95fd5feeb5372a8e0d2ff1eb0bd64891 commit f18b9b2b95fd5feeb5372a8e0d2ff1eb0bd64891 Author: Michael Tuexen AuthorDate: 2024-08-05 09:17:30 +0000 Commit: Michael Tuexen CommitDate: 2024-08-13 17:05:06 +0000 ddb: update printing of t_flags and tflags2 Update the ddb printing of t_flags and t_flags2 to the current state of definitions in tcp_var.h. Reviewed by: cc Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46222 (cherry picked from commit 093d9b46f4720392e53c171eaabfd7a6a8101170) --- sys/netinet/tcp_usrreq.c | 84 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 76 insertions(+), 8 deletions(-) diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 384c27b3a6cd..6bc11c6bbd13 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -2897,6 +2897,14 @@ db_print_tflags(u_int t_flags) db_printf("%sTF_PREVVALID", comma ? ", " : ""); comma = 1; } + if (t_flags & TF_WAKESOR) { + db_printf("%sTF_WAKESOR", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_GPUTINPROG) { + db_printf("%sTF_GPUTINPROG", comma ? ", " : ""); + comma = 1; + } if (t_flags & TF_MORETOCOME) { db_printf("%sTF_MORETOCOME", comma ? ", " : ""); comma = 1; @@ -2917,18 +2925,10 @@ db_print_tflags(u_int t_flags) db_printf("%sTF_FASTRECOVERY", comma ? ", " : ""); comma = 1; } - if (t_flags & TF_CONGRECOVERY) { - db_printf("%sTF_CONGRECOVERY", comma ? ", " : ""); - comma = 1; - } if (t_flags & TF_WASFRECOVERY) { db_printf("%sTF_WASFRECOVERY", comma ? ", " : ""); comma = 1; } - if (t_flags & TF_WASCRECOVERY) { - db_printf("%sTF_WASCRECOVERY", comma ? ", " : ""); - comma = 1; - } if (t_flags & TF_SIGNATURE) { db_printf("%sTF_SIGNATURE", comma ? ", " : ""); comma = 1; @@ -2941,6 +2941,30 @@ db_print_tflags(u_int t_flags) db_printf("%sTF_TSO", comma ? ", " : ""); comma = 1; } + if (t_flags & TF_TOE) { + db_printf("%sTF_TOE", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_CLOSED) { + db_printf("%sTF_CLOSED", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_UNUSED1) { + db_printf("%sTF_UNUSED1", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_LRD) { + db_printf("%sTF_LRD", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_CONGRECOVERY) { + db_printf("%sTF_CONGRECOVERY", comma ? ", " : ""); + comma = 1; + } + if (t_flags & TF_WASCRECOVERY) { + db_printf("%sTF_WASCRECOVERY", comma ? ", " : ""); + comma = 1; + } if (t_flags & TF_FASTOPEN) { db_printf("%sTF_FASTOPEN", comma ? ", " : ""); comma = 1; @@ -2989,10 +3013,54 @@ db_print_tflags2(u_int t_flags2) db_printf("%sTF2_ACE_PERMIT", comma ? ", " : ""); comma = 1; } + if (t_flags2 & TF2_HPTS_CPU_SET) { + db_printf("%sTF2_HPTS_CPU_SET", comma ? ", " : ""); + comma = 1; + } if (t_flags2 & TF2_FBYTES_COMPLETE) { db_printf("%sTF2_FBYTES_COMPLETE", comma ? ", " : ""); comma = 1; } + if (t_flags2 & TF2_ECN_USE_ECT1) { + db_printf("%sTF2_ECN_USE_ECT1", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_TCP_ACCOUNTING) { + db_printf("%sTF2_TCP_ACCOUNTING", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_HPTS_CALLS) { + db_printf("%sTF2_HPTS_CALLS", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_MBUF_L_ACKS) { + db_printf("%sTF2_MBUF_L_ACKS", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_MBUF_ACKCMP) { + db_printf("%sTF2_MBUF_ACKCMP", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_SUPPORTS_MBUFQ) { + db_printf("%sTF2_SUPPORTS_MBUFQ", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_MBUF_QUEUE_READY) { + db_printf("%sTF2_MBUF_QUEUE_READY", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_DONT_SACK_QUEUE) { + db_printf("%sTF2_DONT_SACK_QUEUE", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_CANNOT_DO_ECN) { + db_printf("%sTF2_CANNOT_DO_ECN", comma ? ", " : ""); + comma = 1; + } + if (t_flags2 & TF2_NO_ISS_CHECK) { + db_printf("%sTF2_NO_ISS_CHECK", comma ? ", " : ""); + comma = 1; + } } static void