Skip to contentSkip to conversation

behavior of TSO in kernel

DISCUSSION Radha Mohan 1 participant 1 message Jun 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
To: [email protected]
Cc: David Miller <[email protected]>
Sent: Saturday, 6 June, 2009 7:41:21 PM
Subject: Re: behavior of TSO in kernel

Quoted 2 lines

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 &#39;09 exclusively on YAHOO! CRICKET http://cricket.yahoo.com