Home
last modified time | relevance | path

Searched refs:xmit_size_goal (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/net/ipv4/
Dtcp.c722 u32 xmit_size_goal, old_size_goal; in tcp_xmit_size_goal() local
724 xmit_size_goal = mss_now; in tcp_xmit_size_goal()
727 xmit_size_goal = ((sk->sk_gso_max_size - 1) - in tcp_xmit_size_goal()
732 xmit_size_goal = tcp_bound_to_half_wnd(tp, xmit_size_goal); in tcp_xmit_size_goal()
737 if (likely(old_size_goal <= xmit_size_goal && in tcp_xmit_size_goal()
738 old_size_goal + mss_now > xmit_size_goal)) { in tcp_xmit_size_goal()
739 xmit_size_goal = old_size_goal; in tcp_xmit_size_goal()
742 min_t(u16, xmit_size_goal / mss_now, in tcp_xmit_size_goal()
744 xmit_size_goal = tp->xmit_size_goal_segs * mss_now; in tcp_xmit_size_goal()
748 return max(xmit_size_goal, mss_now); in tcp_xmit_size_goal()