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
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user