From nobody Tue Sep 13 14:06:26 2022 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 4MRlcy6t1gz4cS0W; Tue, 13 Sep 2022 14:06:26 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRlcy6Bszz3wGR; Tue, 13 Sep 2022 14:06:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663077986; 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=dYx3QwMk7nkO6dYe6818G7pPSod+WD3+Rt4SzUfD8pE=; b=YDGENk+HlZL+lGR42l52YE1x7lrrgRLRMi9sNefpPNcZKQtbTUkU0H9k+DhhZK2YvEV4fo abCYFrgiVgHYsbtQ6KSJo8syVRiABSu+xcWEASP4c2Y2ud0nEKyKrdpDBB3GXKCap7uJGD 5HOLyFLi5j/x+FrRsqs2CHrksiRHPs8IvxoFJlBFmevqn8rLVYNeKOmJHg2j5HpXqXshcv XmKN3TBj6iJsuRkEx2Dh34QUbLNAWUoaAcoSk8P7/7mhU7VbMRvj88EBx8I261KtlCkibU NhvqAki04eN0rzJhLN9TQ0Ef18hpAnCkwHwIH55EUX/MGc7JU2gnrOWEdjo6sQ== 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 4MRlcy57NGzM9w; Tue, 13 Sep 2022 14:06:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28DE6QSv080649; Tue, 13 Sep 2022 14:06:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28DE6Q3N080648; Tue, 13 Sep 2022 14:06:26 GMT (envelope-from git) Date: Tue, 13 Sep 2022 14:06:26 GMT Message-Id: <202209131406.28DE6Q3N080648@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Richard Scheffenegger Subject: git: ea6d0de29933 - main - tcp: Make all references to CUBIC uppercase 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rscheff X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ea6d0de29933402ec59da238b629af92939f4dc2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663077986; 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=dYx3QwMk7nkO6dYe6818G7pPSod+WD3+Rt4SzUfD8pE=; b=HrGwLI1WTCnLagjtUasBiZutOSkt8LEyNFgxuvorupw2Em9kUYCZm5LEx+lO29p+zzvehW uuK5swnpNM7ZncBDHA3apW6cL+HyhtYWOgbLfWspcNd8t2f9WTouCe3O/5LdXNmWefSv1k 26+pb9KWuLFQwdpsiQWrwaucPFJSnjcc3Wpo2p0nael869W9PJTznXmhAjMC4Xrb4p2yIe hHcpr0UmtaGF8iRDVpgyZ0a2AsAxm1GoliWMB5FZa00hTo/775/rWlEXKI4gR/kl0Mhu6Z oGsoZUaz1H9hMlrrNqB/lQ9J1FUXCgCNG2NTxkcrFsb6+cBjUoW3J9GHkd5XaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663077986; a=rsa-sha256; cv=none; b=RWlyV1myZ7EOKYWahrBOOkFtNbs3k1WBfZwvC3/LAgU8msz1+2EpoQ6PoBuK2WSQMM8m7h Sr7YeVmNMgQna5+kEN+WB+yBH/IQgaXwzo/c7rZWQV+p2xAbXZShB/IuH1+2rt/sKp/XKK rklIvBpwi3pv1eIpivi9KUFM8zgbuwTCaUt26131E1+ocsObs30x3d3hNOAJCdE3td7yIG /WDzWJ75/SMCrvh5GUIf4kovcjlace9H+ydWMrdOef4w+KAB/Naw1WX6kyHwOU6enJOsLO 3Ug8EYNT21TZ5/a+0SdjN1apCVCR+yKsQC2HobOL2IAwvjgrsldwQnUYIbfdvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rscheff: URL: https://cgit.FreeBSD.org/src/commit/?id=ea6d0de29933402ec59da238b629af92939f4dc2 commit ea6d0de29933402ec59da238b629af92939f4dc2 Author: Richard Scheffenegger AuthorDate: 2022-09-13 09:59:09 +0000 Commit: Richard Scheffenegger CommitDate: 2022-09-13 10:07:06 +0000 tcp: Make all references to CUBIC uppercase Consistently refer to the CUBIC congestion control mechanism in uppercase throughout all comments. No functional change. Reviewed By: #transport, tuexen, mav, guest-ccui, emaste Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D36547 --- sys/netinet/cc/cc.h | 2 +- sys/netinet/cc/cc_cubic.c | 2 +- sys/netinet/cc/cc_cubic.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/cc/cc.h b/sys/netinet/cc/cc.h index 1906207bddb4..90c954faffa1 100644 --- a/sys/netinet/cc/cc.h +++ b/sys/netinet/cc/cc.h @@ -112,7 +112,7 @@ struct cc_var { #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_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_HYSTART_ALLOWED 0x0400 /* If the CC supports it Hystart is allowed */ diff --git a/sys/netinet/cc/cc_cubic.c b/sys/netinet/cc/cc_cubic.c index 1f387df29bde..6e0f176b80c9 100644 --- a/sys/netinet/cc/cc_cubic.c +++ b/sys/netinet/cc/cc_cubic.c @@ -345,7 +345,7 @@ cubic_ack_received(struct cc_var *ccv, uint16_t type) } /* - * This is a Cubic specific implementation of after_idle. + * This is a CUBIC specific implementation of after_idle. * - Reset cwnd by calling New Reno implementation of after_idle. * - Reset t_last_cong. */ diff --git a/sys/netinet/cc/cc_cubic.h b/sys/netinet/cc/cc_cubic.h index 2042590182fc..003ed45394ea 100644 --- a/sys/netinet/cc/cc_cubic.h +++ b/sys/netinet/cc/cc_cubic.h @@ -89,7 +89,7 @@ /* Kernel only bits */ #ifdef _KERNEL struct cubic { - /* Cubic K in fixed point form with CUBIC_SHIFT worth of precision. */ + /* CUBIC K in fixed point form with CUBIC_SHIFT worth of precision. */ int64_t K; /* Sum of RTT samples across an epoch in ticks. */ int64_t sum_rtt_ticks;