git: ea6d0de29933 - main - tcp: Make all references to CUBIC uppercase

From: Richard Scheffenegger <rscheff_at_FreeBSD.org>
Date: Tue, 13 Sep 2022 14:06:26 UTC
The branch main has been updated by rscheff:

URL: https://cgit.FreeBSD.org/src/commit/?id=ea6d0de29933402ec59da238b629af92939f4dc2

commit ea6d0de29933402ec59da238b629af92939f4dc2
Author:     Richard Scheffenegger <rscheff@FreeBSD.org>
AuthorDate: 2022-09-13 09:59:09 +0000
Commit:     Richard Scheffenegger <rscheff@FreeBSD.org>
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;