Re: RFC: TSO patch for current

From: Andre Oppermann <andre_at_freebsd.org>
Date: Sat, 02 Sep 2006 09:52:44 +0200
Jack Vogel wrote:
> This is a patch for the stack and the em driver to enable TSO
> on CURRENT. Previously I had problems getting it to work, but
> this is functional.
> 
> I should note that CURRENT is being a pain right now, when
> I comment out em in the config the kernel panics coming up,
> so I had to substitute this code into the tree. Rather bizarre :)
> 
> I have this functionality running on a 6.1 based system, and
> our test group is already testing against that driver, so far
> things are looking good.
> 
> I have designed it so the driver can continue to be built
> without support. There is also a sysctl in the stack code
> so you can set net.inet.tcp.tso_enable on or off and
> compare.
> 
> I know there may be some refinements to add in, but I
> would like to get this into CURRENT as a start.

I can't comment on the em part but the tcp_output.c stuff looks
very much like a straight port from NetBSD.  If we take code from
the other BSDs we have to remark this in the emails we send with
patches and the commit message (otherwise we get accused of 'stealing
without attribution').  Although the code would work I have some ideas
to implement this in a different way for our stack (we have certain
divergence from the other BSDs).  If you don't get an alternative
patch form me until this Thursday be free to go with this patch taking
into consideration Robert's comments and mine from your earlier version.

-- 
Andre
Received on Sat Sep 02 2006 - 05:52:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC