Re: what does the 'tso' mean in the networking subsystem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On 4/18/07, rwen2012 <rwen2012@xxxxxxxxx> 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?
Check out for more information at
http://en.wikipedia.org/wiki/TCP_segmentation_offload
Thanks.

          R.wen

/* 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;
}

 ________________________________

Regards,
Parag

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux