Lines Matching refs:new_tso

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