Lines Matching defs:thresh
1399 "Extra RACK time (in microseconds) besides reordering thresh");
2539 * 4 = Dsack option increases rack rtt flex5 is the srtt input, flex6 is thresh
2541 * 6 = Final rack rtt, flex4 is srtt and flex6 is final limited thresh.
2685 rack_log_retran_reason(struct tcp_rack *rack, struct rack_sendmap *rsm, uint32_t tsused, uint32_t thresh, int mod)
2705 log.u_bbr.flex2 = thresh;
5920 uint32_t thresh;
5968 thresh = srtt + rack->r_ctl.rc_pkt_delay;
5971 thresh = srtt + (srtt >> 2);
5976 thresh += (srtt >> rack->r_ctl.rc_reorder_shift);
5978 thresh += (srtt >> 2);
5987 thresh += rack->r_ctl.num_dsack * (srtt >> 2);
5989 rack_log_dsack_event(rack, 4, line, srtt, thresh);
5992 if (thresh > (srtt * 2)) {
5993 thresh = srtt * 2;
5996 if (thresh > rack_rto_max) {
5997 thresh = rack_rto_max;
6000 rack_log_dsack_event(rack, 6, line, srtt, thresh);
6001 return (thresh);
6009 uint32_t thresh, len;
6015 thresh = srtt + (srtt / rack->r_ctl.rc_tlp_threshold);
6017 thresh = (srtt * 2);
6030 if (alt_thresh > thresh)
6031 thresh = alt_thresh;
6038 * Two packets outstanding, thresh should be (2*srtt) +
6050 thresh += inter_gap;
6058 if (alt_thresh > thresh)
6059 thresh = alt_thresh;
6069 if (alt_thresh > thresh)
6070 thresh = alt_thresh;
6074 if (thresh > tp->t_rxtcur) {
6075 thresh = tp->t_rxtcur;
6078 if (thresh > rack_rto_max) {
6079 thresh = rack_rto_max;
6082 if (thresh < rack_tlp_min) {
6083 thresh = rack_tlp_min;
6085 return (thresh);
6117 uint32_t srtt, thresh;
6135 thresh = rack_calc_thresh_rack(rack, srtt, tsused, __LINE__, 1);
6139 if ((tsused - ((uint32_t)rsm->r_tim_lastsent[idx])) < thresh) {
6171 uint32_t thresh, exp, to, srtt, time_since_sent, tstmp_touse;
6286 thresh = rack_calc_thresh_rack(rack, srtt, cts, __LINE__, 1);
6288 exp = ((uint32_t)rsm->r_tim_lastsent[idx]) + thresh;
6355 thresh = rack_calc_thresh_tlp(tp, rack, rsm, srtt);
6356 if (thresh > time_since_sent) {
6357 to = thresh - time_since_sent;
6361 thresh, /* flex1 */
6876 uint32_t thresh, exp;
6878 thresh = rack_calc_thresh_rack(rack, rack_grab_rtt(tp, rack), cts, __LINE__, 0);
6886 exp = ((uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt - 1)]) + thresh;
9120 uint32_t thresh;
9123 thresh = rack_calc_thresh_rack(rack, rack_grab_rtt(tp, rack), cts, __LINE__, 0);
9151 exp = ((uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt - 1)]) + thresh;
17061 uint32_t srtt = 0, thresh = 0, ts_low = 0;
17103 thresh = rack_calc_thresh_rack(rack, srtt, tsused, __LINE__, 1);
17109 if ((tsused - ts_low) < thresh) {
17123 rack_log_retran_reason(rack, rsm, (tsused - ts_low), thresh, 1);
19623 int thresh;
19655 thresh = rack_calc_thresh_rack(rack, rack_grab_rtt(rack->rc_tp, rack), cts, __LINE__, 1);
19656 if ((cts - ((uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt-1)])) > thresh) {
19659 thresh, __LINE__, 6, rsm->r_flags, rsm);
19665 thresh, __LINE__, 7, rsm->r_flags, rsm);