|
@@ -808,12 +808,6 @@ static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now,
|
|
xmit_size_goal = min_t(u32, gso_size,
|
|
xmit_size_goal = min_t(u32, gso_size,
|
|
sk->sk_gso_max_size - 1 - hlen);
|
|
sk->sk_gso_max_size - 1 - hlen);
|
|
|
|
|
|
- /* TSQ : try to have at least two segments in flight
|
|
|
|
- * (one in NIC TX ring, another in Qdisc)
|
|
|
|
- */
|
|
|
|
- xmit_size_goal = min_t(u32, xmit_size_goal,
|
|
|
|
- sysctl_tcp_limit_output_bytes >> 1);
|
|
|
|
-
|
|
|
|
xmit_size_goal = tcp_bound_to_half_wnd(tp, xmit_size_goal);
|
|
xmit_size_goal = tcp_bound_to_half_wnd(tp, xmit_size_goal);
|
|
|
|
|
|
/* We try hard to avoid divides here */
|
|
/* We try hard to avoid divides here */
|