Lines Matching defs:new_tso
5561 uint32_t cur_delay, seg_sz, maxseg, new_tso, delta, hdwr_delay;
5662 new_tso = seg_sz;
5664 new_tso = bbr->r_ctl.rc_pace_max_segs;
5665 if (new_tso >= (PACE_MAX_IP_BYTES-maxseg))
5666 new_tso = PACE_MAX_IP_BYTES - maxseg;
5668 if (new_tso != bbr->r_ctl.rc_pace_max_segs) {
5669 bbr_log_type_tsosize(bbr, cts, new_tso, 0, bbr->r_ctl.rc_pace_max_segs, maxseg, 0);
5670 bbr->r_ctl.rc_pace_max_segs = new_tso;
5678 uint32_t old_tso = 0, new_tso;
5777 new_tso = maxseg;
5789 new_tso = bytes / maxseg;
5794 if (new_tso < min_tso_segs)
5795 new_tso = min_tso_segs;
5796 new_tso *= maxseg;
5798 new_tso = (PACE_MAX_IP_BYTES / maxseg) * maxseg;
5808 new_tso = tso_len / maxseg;
5809 if (new_tso > bbr->r_ctl.bbr_hptsi_segments_max)
5810 new_tso = bbr->r_ctl.bbr_hptsi_segments_max;
5811 new_tso *= maxseg;
5819 new_tso = rounddown(tso_len, min_tso);
5821 new_tso = min_tso;
5828 new_tso = rounddown(PACE_MAX_IP_BYTES, maxseg);
5844 new_tso = roundup(bw, (uint64_t)maxseg);
5850 if (new_tso < (bbr->r_ctl.bbr_hptsi_segments_max * maxseg))
5851 new_tso = (bbr->r_ctl.bbr_hptsi_segments_max * maxseg);
5853 if (bbr->r_ctl.bbr_hptsi_segments_floor && (new_tso < (maxseg * bbr->r_ctl.bbr_hptsi_segments_floor)))
5854 new_tso = maxseg * bbr->r_ctl.bbr_hptsi_segments_floor;
5855 if (new_tso > PACE_MAX_IP_BYTES)
5856 new_tso = rounddown(PACE_MAX_IP_BYTES, maxseg);
5858 if (bbr->r_ctl.bbr_utter_max && (new_tso > (bbr->r_ctl.bbr_utter_max * maxseg))) {
5859 new_tso = bbr->r_ctl.bbr_utter_max * maxseg;
5861 if (old_tso != new_tso) {
5863 bbr_log_type_tsosize(bbr, cts, new_tso, tls_seg, old_tso, maxseg, 0);
5864 bbr->r_ctl.rc_pace_max_segs = new_tso;