Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 13:04:57 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        Kip Macy <kmacy@freebsd.org>
Cc:        Renaud Lienhart <renaud@vmware.com>, freebsd-net@freebsd.org
Subject:   Re: tcp_output() might generate invalid TSO frames
Message-ID:  <2a41acea0904151304t69ff9f61q3053b2a011402626@mail.gmail.com>
In-Reply-To: <3c1674c90904151106j543d4772s25786f81d7ff55a1@mail.gmail.com>
References:  <20090415084031.6d149fef@renaud-dev1> <3c1674c90904151106j543d4772s25786f81d7ff55a1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
No, the problem Mike is having is due to an issue in our new shared code
in how we get the mac address, we changed it to support alt mac addresses,
and it works find on our hardware, there is an issue in the vmware
emulation.

Nevertheless, if there's a problem in the TSO code it would be nice to get
that fixed.

Jack


On Wed, Apr 15, 2009 at 11:06 AM, Kip Macy <kmacy@freebsd.org> wrote:

> Interesting. That might explain a problem that Mike Silbersack is
> seeing with the latest em driver on vmware.
>
> I don't know of any NICs that actually choke on such frames.
> Nonetheless, it is silly behavior. I'll try to see if we can get this
> fixed before 7.2.
>
> Thanks,
> Kip
>
> On Wed, Apr 15, 2009 at 8:40 AM, Renaud Lienhart <renaud@vmware.com>
> wrote:
> > Hi,
> >
> > We're having trouble virtualizing FreeBSD 7+ on ESX because of an issue
> > with the stack's TSO implementation: it sometimes generates TSO packets
> > whose payload size is actually smaller than the MSS.
> >
> > The faulty logic is described, along with a patch, in PR #132832. It
> > has been opened for a while now, without any apparent activity, which
> > is why I'm reaching the mailing list directly.
> >
> > ESX currently drops these packets as many physical nics are known to
> > choke on such frames, which effectively limits FreeBSD guests'
> > performance.
> > I don't know about other virtualization stacks' behavior.
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/132832
> >
> > Thanks for your time,
> >
> >        Renaud
> > _______________________________________________
> > freebsd-net@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> >
>
>
>
> --
> All that is necessary for the triumph of evil is that good men do nothing.
>    Edmund Burke
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



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