Lines Matching refs:tso_segs
1999 u32 min_tso, tso_segs; in tcp_tso_segs() local
2005 tso_segs = tcp_tso_autosize(sk, mss_now, min_tso); in tcp_tso_segs()
2006 return min_t(u32, tso_segs, sk->sk_gso_max_segs); in tcp_tso_segs()
2072 int tso_segs = tcp_skb_pcount(skb); in tcp_init_tso_segs() local
2074 if (!tso_segs || (tso_segs > 1 && tcp_skb_mss(skb) != mss_now)) { in tcp_init_tso_segs()
2076 tso_segs = tcp_skb_pcount(skb); in tcp_init_tso_segs()
2078 return tso_segs; in tcp_init_tso_segs()
2675 unsigned int tso_segs, sent_pkts; in tcp_write_xmit() local
2710 tso_segs = tcp_init_tso_segs(skb, mss_now); in tcp_write_xmit()
2711 BUG_ON(!tso_segs); in tcp_write_xmit()
2727 if (tso_segs == 1) { in tcp_write_xmit()
2740 if (tso_segs > 1 && !tcp_urg_mode(tp)) in tcp_write_xmit()