Lines Matching refs:cwnd
77 MODULE_PARM_DESC(hystart_low_window, "lower bound cwnd for hybrid slow start");
81 u32 cnt; /* increase cwnd by 1 after ACKs */
91 u32 tcp_cwnd; /* estimated tcp cwnd */
192 static inline void bictcp_update(struct bictcp *ca, u32 cwnd)
199 if (ca->last_cwnd == cwnd &&
203 ca->last_cwnd = cwnd;
209 ca->tcp_cwnd = cwnd; /* syn with cubic */
211 if (ca->last_max_cwnd <= cwnd) {
213 ca->bic_origin_point = cwnd;
216 * (wmax-cwnd) * (srtt>>3 / HZ) / c * 2^(3*bictcp_HZ)
219 * (ca->last_max_cwnd - cwnd));
235 * if the cwnd < 1 million packets !!!
255 if (bic_target > cwnd) {
256 ca->cnt = cwnd / (bic_target - cwnd);
258 ca->cnt = 100 * cwnd; /* very small increment*/
264 delta = (cwnd * scale) >> 3;
265 while (ca->ack_cnt > delta) { /* update tcp cwnd */
270 if (ca->tcp_cwnd > cwnd){ /* if bic is slower than tcp */
271 delta = ca->tcp_cwnd - cwnd;
272 max_cnt = cwnd / delta;
402 /* hystart triggers when cwnd is larger than some threshold */
431 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
432 * so K = cubic_root( (wmax-cwnd)*rtt/c )
439 * cwnd < 1 million packets