Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 10:17:13 +0100
From:      Andre Oppermann <andre@freebsd.org>
To:        Kip Macy <kip.macy@gmail.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>, Jack Vogel <jfvogel@gmail.com>
Subject:   Re: improved TSO interface needed
Message-ID:  <45E2A599.6020500@freebsd.org>
In-Reply-To: <b1fa29170702252110h3217bf82pdc9a3b46561b1671@mail.gmail.com>
References:  <b1fa29170702242255i323077e8t3e5cfe696431c50b@mail.gmail.com>	 <45E19B54.9060007@freebsd.org>	 <b1fa29170702250641w3b365a97u62f066087d1bffe8@mail.gmail.com>	 <45E1A3B4.7090002@freebsd.org>	 <2a41acea0702252053v2357b5f5tefbcf58375be1a2f@mail.gmail.com> <b1fa29170702252110h3217bf82pdc9a3b46561b1671@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip Macy wrote:
>> LSO is MicroSlop's term for TSO :) As usual, they rename it, and
>> next they do something non-standard to er 'differentiate' as the
>> euphemism goes...
>>
>> Kinda what Sun's lawsuit back in the 90s against their Java
>> strategy was all about :)
>>
>> Nevertheless, I don't understand Kip either, when we do TSO there
>> is no evidence on the wire, it still has MTU sized packets.  I fail to
>> see why I should care about some LSO spec, what does it break?
> 
> The stack will send down chains where pkthdr.len > 65536 bytes - I'm
> also seeing it send down mbuf chains of 66 mbufs or more. I don't
> think all cards can handle an arbitrary number of descriptors being
> used for a single packet.

Getting an mbuf chain with pkthdr.len > 65536 is a bug.  Can you describe
the test setup a bit more, eg. which programs do you use to generate the
traffic?  And can you instrument the driver to print the exact size of
the oversized chains?  I'm interested if it is just a few bytes more or
generally overshoots by a larger margin.

-- 
Andre




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E2A599.6020500>