From nobody Thu Aug 15 13:34:45 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 4Wl5hP550pz5S9vb; Thu, 15 Aug 2024 13:34:45 +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 4Wl5hP4b4pz4JsC; Thu, 15 Aug 2024 13:34:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723728885; 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=EW3Dce21yklfbvrPR8mbxfcaYW7atXOojvwt54lot0w=; b=srlV97yw88drshm/SLmicXO8a/hZFSMO1fxN83YgQKgD4U8EQ3Wc2LMS0Sy7hmRy9vm6hj Rp1IX6px42xu55T/nH8h3PYREey4PAaSLiuRdXpvQG0eLOsBORLfgMyfUokW1KkJwWyi89 5rR2RJS0A7Jw0ieHkr8fCZKyP8yYuU6dPxP0vZbabyOl4RX6z55HBmMC7Tndqnb+ryz52n RmyiI7rwxkOSlGfWiuIV/O+0tEhItVo8jtdWmPJMhpEaWtlhPEktUDsE6mcXbe9X64OkRC gllRZ8DhtS08pckFRVQphDxMZ10tsPVYKbQ8n+GxhARCgg/yRWCb1i2nWq9+Gg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723728885; a=rsa-sha256; cv=none; b=DL5NKw69ZR7WPDVltvZw81cOGIuYDGDQwrSB6SrPkNAUDCMKNXxm6lwCkwCUg2TdrPE8LN WLhuGQL6d2KqAHfX0eize7MCQfiNPhxAGk5tP62ZIq6x/yyrFdP32FN17IL1FyuqMwry6x heeJRG4Ca7WoJ9w7JLi2yOcJyj7oXdhG1102Xo6tksQSnoa9nHM253TXyv60PdSCgCIBid CvbsieetQ8kvAHE6gLIKaINhk+jWHa5Ufgl7XmXIe351E8rj7TelewPYN30dFs4082dlSq Hcj/Fc+1HIzMSdbfxVXd0HJ7JyQT1HrWQ3VzR59JG32a438goL+eXUFEv9O7gQ== 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=1723728885; 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=EW3Dce21yklfbvrPR8mbxfcaYW7atXOojvwt54lot0w=; b=iA4krkkSpFsoHfiXRWJQsVBu8ZhkzAHQwpo/qwfZDxEL2BCjQ9YJqgM1r2of2jnVY/YMI2 9phsfkc+EBdaisMrTI9TBMlc165xV2idTvWFN0iliqszRB8ewzMF/9O/SaVndWuFKmyvQX OmyyadLKBF5L5BVPo4VMMtcDUi5doh/ai15/XSdS19oGAPa/im/TLwfnjeSbWyZLPYGxzw AkLN2D19ob1MDOVzaOEQmvXsRwb8pJzJMoRF7t3qBl53vx0McwvU4aJ7gXlF55zkAI6SLv TpkOGbF7Y3nj0iHvOE2Kzk1CYtgcSBEYQn+79CQ3LSmyQcOThtdVnsuST/ZCbw== 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 4Wl5hP3hRkzPX8; Thu, 15 Aug 2024 13:34:45 +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 47FDYjnE031428; Thu, 15 Aug 2024 13:34:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47FDYjrf031425; Thu, 15 Aug 2024 13:34:45 GMT (envelope-from git) Date: Thu, 15 Aug 2024 13:34:45 GMT Message-Id: <202408151334.47FDYjrf031425@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cheng Cui Subject: git: 8cc528c682d7 - main - tcp cc: clean up some un-used cc_var flags 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: cc X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8cc528c682d7560303415c18274f151e415658f1 Auto-Submitted: auto-generated The branch main has been updated by cc: URL: https://cgit.FreeBSD.org/src/commit/?id=8cc528c682d7560303415c18274f151e415658f1 commit 8cc528c682d7560303415c18274f151e415658f1 Author: Cheng Cui AuthorDate: 2024-08-14 19:30:10 +0000 Commit: Cheng Cui CommitDate: 2024-08-15 13:33:04 +0000 tcp cc: clean up some un-used cc_var flags Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D46299 --- sys/netinet/cc/cc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netinet/cc/cc.h b/sys/netinet/cc/cc.h index 63381f4b5ca3..d78c61bde2fe 100644 --- a/sys/netinet/cc/cc.h +++ b/sys/netinet/cc/cc.h @@ -104,10 +104,10 @@ struct cc_var { #define CCF_ACKNOW 0x0008 /* Will this ack be sent now? */ #define CCF_IPHDR_CE 0x0010 /* Does this packet set CE bit? */ #define CCF_TCPHDR_CWR 0x0020 /* Does this packet set CWR bit? */ -#define CCF_MAX_CWND 0x0040 /* Have we reached maximum cwnd? */ -#define CCF_CHG_MAX_CWND 0x0080 /* CUBIC max_cwnd changed, for K */ -#define CCF_USR_IWND 0x0100 /* User specified initial window */ -#define CCF_USR_IWND_INIT_NSEG 0x0200 /* Convert segs to bytes on conn init */ +#define CCF_UNUSED1 0x0040 +#define CCF_UNUSED2 0x0080 +#define CCF_UNUSED3 0x0100 +#define CCF_UNUSED4 0x0200 #define CCF_HYSTART_ALLOWED 0x0400 /* If the CC supports it Hystart is allowed */ #define CCF_HYSTART_CAN_SH_CWND 0x0800 /* Can hystart when going CSS -> CA slam the cwnd */ #define CCF_HYSTART_CONS_SSTH 0x1000 /* Should hystart use the more conservative ssthresh */