Re: TSO, SMP and the em driver.

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Wed, 13 Sep 2006 10:46:22 -0500
On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote:
> On Tuesday 12 September 2006 19:14, Andre Oppermann wrote:
> > Mike Tancsa wrote:
> > > At 12:43 PM 9/12/2006, Andre Oppermann wrote:
> > > 
> > >> TSO != (vlan && promisc)
> > > 
> > > Sorry, the commonality I was referring to was VLAN hardware tagging and 
> > > how it must be enabled for TSO, but that breaks other things.  See a few 
> > > messages ago
> > > 
> http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html 
> > 
> > I'm sure we can find a workaround for that.
> 
> Well, you could have the em(4) driver manually handle TSO in software, which 
> is what it does to workaround the VLAN tag problem.  (It does VLAN 
> encapsulation in the driver.)  While VLAN insertion may be trivial, 
> re-implementing TCP segmentation in the driver might be a good bit less 
> trivial to do.  There's not going to be a simple easy workaround for this 
> hardware bug. :(

I'm not sure it's worth worrying about with GbE hardware.  Just disable
TSO in promiscuous mode.  Where TSO is going to really matter is 10GbE.
No supporting TSO in some configurations with GbE doesn't seem like a
big deal to me.

-- Brooks

Received on Wed Sep 13 2006 - 13:46:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC