[<prev] [next>] [day] [month] [year] [list]
Message-ID: <974032.57711.qm@web94813.mail.in2.yahoo.com>
Date: Mon, 29 Jun 2009 12:14:55 +0530 (IST)
From: Radha Mohan <radhamohan_ch@...oo.com>
To: netdev@...r.kernel.org
Cc: David Miller <davem@...emloft.net>
Subject: Re: behavior of TSO in kernel
David,
I think we do not need to do this when TSO is enabled.
At line 1562 in tcp_output.c (in tcp_write_xmit() function)
if (tso_segs > 1 && !tcp_urg_mode(tp))
limit = tcp_mss_split_point(sk, skb, mss_now,
cwnd_quota);
if (skb->len > limit &&
unlikely(tso_fragment(sk, skb, limit, mss_now)))
Since the hardware can split and send the packet, there is
no need for this in software.
Am I missing something here?
-- Mohan
----- Original Message ----
From: Radha Mohan <radhamohan_ch@...oo.com>
To: netdev@...r.kernel.org
Cc: David Miller <davem@...emloft.net>
Sent: Saturday, 6 June, 2009 7:41:21 PM
Subject: Re: behavior of TSO in kernel
>The TSO engine of the networking has been rewritten at least
>3 times since 2.6.15
Thank you for the info.
Actually we are working on an SoC and we just started moving from kernel 2.6.15, so can you tell me from which kernel version the latest TSO engine is being used. That'll make our life easier and avoid moving kernels frequently. Currently we are thinking of moving to 2.6.24. Will that do??
ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET http://cricket.yahoo.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists