WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #55: new file mode 100644 WARNING: line length of 87 exceeds 80 columns #82: FILE: net/quic/cong.c:23: + u32 pending_w_add; /* Accumulate fractional increments to W_est */ WARNING: line length of 89 exceeds 80 columns #85: FILE: net/quic/cong.c:26: + u32 pending_add; /* Accumulates fractional additions to W_cubic */ WARNING: line length of 97 exceeds 80 columns #95: FILE: net/quic/cong.c:36: + u16 css_rounds; /* Counter for consecutive rounds showing RTT increase */ WARNING: line length of 86 exceeds 80 columns #96: FILE: net/quic/cong.c:37: + s64 window_end; /* End of current CSS round (packet number) */ WARNING: line length of 84 exceeds 80 columns #140: FILE: net/quic/cong.c:81: + /* If CSS_ROUNDS rounds are complete, enter congestion avoidance. */ WARNING: line length of 97 exceeds 80 columns #170: FILE: net/quic/cong.c:111: + __func__, cubic->current_round_min_rtt, cubic->last_round_min_rtt, eta); WARNING: line length of 84 exceeds 80 columns #173: FILE: net/quic/cong.c:114: + if (cubic->current_round_min_rtt >= cubic->last_round_min_rtt + eta) WARNING: line length of 83 exceeds 80 columns #174: FILE: net/quic/cong.c:115: + cubic->css_baseline_min_rtt = cubic->current_round_min_rtt; WARNING: line length of 88 exceeds 80 columns #190: FILE: net/quic/cong.c:131: + * ┌────────────────┐ WARNING: line length of 87 exceeds 80 columns #193: FILE: net/quic/cong.c:134: + * K = ╲ │──────────────── WARNING: line length of 91 exceeds 80 columns #197: FILE: net/quic/cong.c:138: + cubic->k = cubic_root(div64_ul(cubic->k * 10, (u64)cong->mss * 4)); WARNING: line length of 85 exceeds 80 columns #224: FILE: net/quic/cong.c:165: + delta = cong->mss * ((((time_delta * time_delta) >> 10) * time_delta) >> 10); WARNING: line length of 93 exceeds 80 columns #235: FILE: net/quic/cong.c:176: + cwnd_thres = (div64_ul((t + cong->smoothed_rtt) << 10, USEC_PER_SEC) * target) >> 10; WARNING: line length of 85 exceeds 80 columns #237: FILE: net/quic/cong.c:178: + __func__, target, cwnd_thres, delta, t, cong->smoothed_rtt, tx, kx); WARNING: line length of 86 exceeds 80 columns #260: FILE: net/quic/cong.c:201: + target_add = cubic->pending_add + cong->mss * (target - cong->window); WARNING: line length of 97 exceeds 80 columns #280: FILE: net/quic/cong.c:221: + tcp_add = div64_ul((u64)cong->mss * (cubic->w_tcp - cong->window), cong->window); WARNING: line length of 86 exceeds 80 columns #297: FILE: net/quic/cong.c:238: + * CUBIC sets the multiplicative window decrease factor (β__cubic_) to 0.7, WARNING: line length of 93 exceeds 80 columns #303: FILE: net/quic/cong.c:244: + * Some implementations of CUBIC currently use _cwnd_ instead of _flight_size_ when WARNING: line length of 98 exceeds 80 columns #310: FILE: net/quic/cong.c:251: + * ⎪cwnd * ────────── if cwnd < W_max and fast convergence WARNING: line length of 81 exceeds 80 columns #314: FILE: net/quic/cong.c:255: + * ⎩cwnd otherwise, remember cwnd before reduction WARNING: line length of 82 exceeds 80 columns #326: FILE: net/quic/cong.c:267: +static int quic_cong_check_persistent_congestion(struct quic_cong *cong, u32 time) WARNING: line length of 81 exceeds 80 columns #334: FILE: net/quic/cong.c:275: + ssthresh = cong->smoothed_rtt + max(4 * cong->rttvar, QUIC_KGRANULARITY); WARNING: line length of 92 exceeds 80 columns #335: FILE: net/quic/cong.c:276: + ssthresh = (ssthresh + cong->max_ack_delay) * QUIC_KPERSISTENT_CONGESTION_THRESHOLD; WARNING: line length of 94 exceeds 80 columns #347: FILE: net/quic/cong.c:288: +static void quic_cubic_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 84 exceeds 80 columns #364: FILE: net/quic/cong.c:305: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 95 exceeds 80 columns #372: FILE: net/quic/cong.c:313: +static void quic_cubic_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 84 exceeds 80 columns #394: FILE: net/quic/cong.c:335: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 84 exceeds 80 columns #413: FILE: net/quic/cong.c:354: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 94 exceeds 80 columns #439: FILE: net/quic/cong.c:380: +static void quic_cubic_on_packet_sent(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 86 exceeds 80 columns #456: FILE: net/quic/cong.c:397: + pr_debug("%s: last_round_min_rtt: %u\n", __func__, cubic->last_round_min_rtt); WARNING: line length of 81 exceeds 80 columns #475: FILE: net/quic/cong.c:416: + if (cubic->current_round_min_rtt < cubic->css_baseline_min_rtt) { WARNING: line length of 93 exceeds 80 columns #484: FILE: net/quic/cong.c:425: +static void quic_reno_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 84 exceeds 80 columns #501: FILE: net/quic/cong.c:442: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 94 exceeds 80 columns #511: FILE: net/quic/cong.c:452: +static void quic_reno_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 82 exceeds 80 columns #515: FILE: net/quic/cong.c:456: + cong->window = min_t(u32, cong->window + bytes, cong->max_window); WARNING: line length of 84 exceeds 80 columns #533: FILE: net/quic/cong.c:474: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 84 exceeds 80 columns #552: FILE: net/quic/cong.c:493: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 86 exceeds 80 columns #584: FILE: net/quic/cong.c:525: +void quic_cong_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 87 exceeds 80 columns #589: FILE: net/quic/cong.c:530: +void quic_cong_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 85 exceeds 80 columns #613: FILE: net/quic/cong.c:554: + loss_delay = QUIC_KTIME_THRESHOLD(max(cong->smoothed_rtt, cong->latest_rtt)); WARNING: line length of 88 exceeds 80 columns #621: FILE: net/quic/cong.c:562: + * This function tracks when the next packet is allowed to be sent based on pacing rate. WARNING: line length of 85 exceeds 80 columns #641: FILE: net/quic/cong.c:582: +/* Compute and update the pacing rate based on congestion window and smoothed RTT. */ WARNING: line length of 82 exceeds 80 columns #642: FILE: net/quic/cong.c:583: +static void quic_cong_pace_update(struct quic_cong *cong, u32 bytes, u32 max_rate) WARNING: line length of 86 exceeds 80 columns #656: FILE: net/quic/cong.c:597: +void quic_cong_on_packet_sent(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 85 exceeds 80 columns #683: FILE: net/quic/cong.c:624: + /* rfc9002#section-5.1: latest_rtt = ack_time - send_time_of_largest_acked */ WARNING: line length of 89 exceeds 80 columns #846: FILE: net/quic/cong.h:81: + void (*on_packet_acked)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #847: FILE: net/quic/cong.h:82: + void (*on_packet_lost)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #852: FILE: net/quic/cong.h:87: + void (*on_packet_sent)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #875: FILE: net/quic/cong.h:110: +void quic_cong_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 87 exceeds 80 columns #876: FILE: net/quic/cong.h:111: +void quic_cong_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 87 exceeds 80 columns #879: FILE: net/quic/cong.h:114: +void quic_cong_on_packet_sent(struct quic_cong *cong, u32 time, u32 bytes, s64 number); total: 0 errors, 52 warnings, 0 checks, 858 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 3f3a435d7e07 ("quic: add congestion control") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 52 warnings, 0 checks, 858 lines checked