On Wed, 18 Apr 2007 11:50:04 +0800 rwen2012 wrote: > HI, All > > I see many 'tso' in the source code, but don't know what does it mean. > Could anyone tell me what is that and how does it use? > Thanks. > > R.wen TCP segment(ation) offload > /* This must be invoked the first time we consider transmitting > * SKB onto the wire. > */ > static int tcp_init_tso_segs(struct sock *sk, struct sk_buff *skb, unsigned int mss_now) > { > int tso_segs = tcp_skb_pcount(skb); > > if (!tso_segs || > (tso_segs > 1 && > tcp_skb_mss(skb) != mss_now)) { > tcp_set_skb_tso_segs(sk, skb, mss_now); > tso_segs = tcp_skb_pcount(skb); > } > return tso_segs; > } --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ