Lines Matching refs:srtt

2381 		uint64_t srtt;  in rack_get_gp_est()  local
2408 srtt = (uint64_t)rack->rc_tp->t_srtt; in rack_get_gp_est()
2410 bw /= srtt; in rack_get_gp_est()
3518 uint64_t srtt, bw, len, tim; in rack_get_measure_window() local
3560 srtt = (uint64_t)tp->t_srtt; in rack_get_measure_window()
3561 len = bw * srtt; in rack_get_measure_window()
4860 rack_log_gp_calc(struct tcp_rack *rack, uint32_t add_part, uint32_t sub_part, uint32_t srtt, uint64… in rack_log_gp_calc() argument
4871 log.u_bbr.flex4 = srtt; in rack_log_gp_calc()
4892 uint64_t resid_bw, subpart = 0, addpart = 0, srtt; in rack_do_goodput_measurement() local
5105 srtt = (uint64_t)tp->t_srtt; in rack_do_goodput_measurement()
5106 if (srtt == 0) { in rack_do_goodput_measurement()
5111 srtt = rack->r_ctl.rc_rack_min_rtt; in rack_do_goodput_measurement()
5113 srtt = HPTS_USEC_IN_MSEC; in rack_do_goodput_measurement()
5133 subpart /= (srtt * 8); in rack_do_goodput_measurement()
5141 addpart /= (srtt * 8); in rack_do_goodput_measurement()
5157 rack_log_gp_calc(rack, addpart, subpart, srtt, bytes_ps, utim, meth, __LINE__); in rack_do_goodput_measurement()
5162 if ((utim / srtt) <= 1) { in rack_do_goodput_measurement()
5172 subpart /= (srtt * rack_wma_divisor); in rack_do_goodput_measurement()
5174 addpart /= (srtt * rack_wma_divisor); in rack_do_goodput_measurement()
5194 rack_log_gp_calc(rack, addpart, subpart, srtt, bytes_ps, utim, meth, __LINE__); in rack_do_goodput_measurement()
5894 rack_calc_thresh_rack(struct tcp_rack *rack, uint32_t srtt, uint32_t cts, int line, int log_allowed) in rack_calc_thresh_rack() argument
5915 if (srtt == 0) in rack_calc_thresh_rack()
5916 srtt = 1; in rack_calc_thresh_rack()
5945 thresh = srtt + rack->r_ctl.rc_pkt_delay; in rack_calc_thresh_rack()
5948 thresh = srtt + (srtt >> 2); in rack_calc_thresh_rack()
5953 thresh += (srtt >> rack->r_ctl.rc_reorder_shift); in rack_calc_thresh_rack()
5955 thresh += (srtt >> 2); in rack_calc_thresh_rack()
5964 thresh += rack->r_ctl.num_dsack * (srtt >> 2); in rack_calc_thresh_rack()
5966 rack_log_dsack_event(rack, 4, line, srtt, thresh); in rack_calc_thresh_rack()
5969 if (thresh > (srtt * 2)) { in rack_calc_thresh_rack()
5970 thresh = srtt * 2; in rack_calc_thresh_rack()
5977 rack_log_dsack_event(rack, 6, line, srtt, thresh); in rack_calc_thresh_rack()
5983 struct rack_sendmap *rsm, uint32_t srtt) in rack_calc_thresh_tlp() argument
5989 if (srtt == 0) in rack_calc_thresh_tlp()
5990 srtt = 1; in rack_calc_thresh_tlp()
5992 thresh = srtt + (srtt / rack->r_ctl.rc_tlp_threshold); in rack_calc_thresh_tlp()
5994 thresh = (srtt * 2); in rack_calc_thresh_tlp()
6006 alt_thresh = srtt + (srtt / 2) + rack_delayed_ack_time; in rack_calc_thresh_tlp()
6034 alt_thresh = srtt + (srtt / 2) + rack_delayed_ack_time; in rack_calc_thresh_tlp()
6045 alt_thresh = srtt + (srtt / 2) + rack_delayed_ack_time; in rack_calc_thresh_tlp()
6094 uint32_t srtt, thresh; in rack_check_recovery_mode() local
6111 srtt = rack_grab_rtt(tp, rack); in rack_check_recovery_mode()
6112 thresh = rack_calc_thresh_rack(rack, srtt, tsused, __LINE__, 1); in rack_check_recovery_mode()
6148 uint32_t thresh, exp, to, srtt, time_since_sent, tstmp_touse; in rack_timer_start() local
6262 srtt = rack_grab_rtt(tp, rack); in rack_timer_start()
6263 thresh = rack_calc_thresh_rack(rack, srtt, cts, __LINE__, 1); in rack_timer_start()
6315 srtt = RACK_INITIAL_RTO; in rack_timer_start()
6318 srtt = srtt_cur; in rack_timer_start()
6321 srtt = RACK_INITIAL_RTO; in rack_timer_start()
6329 (srtt < rack_grab_rtt(tp, rack))) { in rack_timer_start()
6330 srtt = rack_grab_rtt(tp, rack); in rack_timer_start()
6332 thresh = rack_calc_thresh_tlp(tp, rack, rsm, srtt); in rack_timer_start()
6343 srtt, in rack_timer_start()
7618 uint32_t srtt; in rack_cc_conn_init() local
7621 srtt = tp->t_srtt; in rack_cc_conn_init()
7627 if ((srtt == 0) && (tp->t_srtt != 0)) in rack_cc_conn_init()
17038 uint32_t srtt = 0, thresh = 0, ts_low = 0; in tcp_rack_output() local
17077 srtt = rack_grab_rtt(tp, rack); in tcp_rack_output()
17080 thresh = rack_calc_thresh_rack(rack, srtt, tsused, __LINE__, 1); in tcp_rack_output()
17434 uint64_t srtt; in rack_get_pacing_delay() local
17462 srtt = rack->r_ctl.rc_rack_min_rtt; in rack_get_pacing_delay()
17464 srtt = max(tp->t_srtt, 1); in rack_get_pacing_delay()
17470 tr_perms = (cwnd * 1000) / srtt; in rack_get_pacing_delay()
17783 srtt = rack->rc_tp->t_srtt; in rack_get_pacing_delay()
17785 srtt = RACK_INITIAL_RTO * HPTS_USEC_IN_MSEC; /* its in ms convert */ in rack_get_pacing_delay()
17786 if (srtt < (uint64_t)slot) { in rack_get_pacing_delay()
17787 … rack_log_pacing_delay_calc(rack, srtt, slot, rate_wanted, bw_est, lentim, 99, __LINE__, NULL, 0); in rack_get_pacing_delay()
17788 slot = srtt; in rack_get_pacing_delay()