RFC: TSO patch for current

Jack Vogel jfvogel at gmail.com
Fri Sep 1 22:51:25 UTC 2006


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.

Comments?

Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: em-current-tso.patch
Type: text/x-patch
Size: 13295 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060901/98abb4a6/em-current-tso.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tso-current-stack.patch
Type: text/x-patch
Size: 6755 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060901/98abb4a6/tso-current-stack.bin


More information about the freebsd-net mailing list