Lines Matching defs:cwnd
259 * may be waiting for an ACK if cwnd-bound or using TX zero
347 * cwnd may be very low (even just 1 packet), so we should ACK
378 /* Better not delay acks, sender can have a very low cwnd */
918 /* set sk_pacing_rate to 200 % of current rate (mss * cwnd / srtt) */
921 /* current rate is (cwnd * mss) / srtt
959 * to do with delayed acks, because at cwnd>2 true delack timeout
979 __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0);
981 if (!cwnd)
982 cwnd = TCP_INIT_CWND;
983 return min_t(__u32, cwnd, tp->snd_cwnd_clamp);
2337 * with the same cwnd?
2579 /* Try to undo cwnd reduction, because D-SACKs acked all retransmitted data */
2620 /* The cwnd reduction in CWR and Recovery uses the PRR algorithm in RFC 6937.
2624 * cwnd reductions across a full RTT.
2627 * slow starts cwnd up to ssthresh to speed up the recovery.
2676 /* Reset cwnd to ssthresh in CWR or Recovery (unless it's undone) */
2685 /* Enter CWR state. Disable cwnd undo since congestion is proven with ECN */
2806 * cwnd/ssthresh really reduced now.
2868 /* Step 2.b. Try send new data (but deferred until cwnd
2965 * is detected. But it does not reduce the cwnd, it is done by the
2985 * A. ECE, hence prohibit cwnd undoing, the reduction is required. */
3050 /* Change state if cwnd is undone or retransmits are lost */
3068 /* MTU probe failure: don't reduce cwnd */
3495 /* If reordering is high then always grow cwnd whenever data is
3497 * and only grow cwnd on in-order delivery (RFC5681). A stretched ACK w/
3498 * new SACK or ECE mark may first advance cwnd here and later reduce
3499 * cwnd in tcp_fastretrans_alert() based on more states.
3509 * cwnd increase and decrease control (tcp_cong_avoid,tcp_*cwnd_reduction).
3524 /* Reduce cwnd if state mandates */
3527 /* Advance cwnd if state allows */
3723 /* ACK advances: there was a loss, so reduce cwnd. Reset
3747 /* Congestion control has updated the cwnd already. So if we're in
3948 /* If data was DSACKed, see if we can undo a cwnd reduction. */
3966 * If data was DSACKed, see if we can undo a cwnd reduction.
6085 * Cut cwnd down to 1 per RFC5681 if SYN or SYN-ACK has been
6087 * initRTO, we only reset cwnd when more than 1 SYN/SYN-ACK