Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2008 21:27:08 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Giulio Ferro <auryn@zirakzigil.org>
Cc:        Andrew Thompson <thompsa@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: VLAN trunking and fragmentation
Message-ID:  <20080314122708.GG22788@cdnetworks.co.kr>
In-Reply-To: <47DA682E.9010504@zirakzigil.org>
References:  <47D7C34E.8060805@zirakzigil.org> <47D817D2.9010306@errno.com> <47D8499A.5070605@zirakzigil.org> <20080313033029.GF16972@cdnetworks.co.kr> <47D92F9D.4070701@zirakzigil.org> <20080314001704.GA22788@cdnetworks.co.kr> <47DA4DCD.6050304@zirakzigil.org> <20080314101555.GF22788@cdnetworks.co.kr> <47DA682E.9010504@zirakzigil.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 14, 2008 at 12:57:34PM +0100, Giulio Ferro wrote:
 > Pyun YongHyeon wrote:
 > > > No packet reached the other PC.
 > >
 > >Ok, then try disabling hardware VLAN tagging.
 > >(#ifconfig re0 -vlanhwtag)
 > >
 > >  
 > That's it!
 > Now seems to work properly, the problem then is with hardware tagging.
 > 
 > My question now is: can I use vlans without htag in a complex system with
 > heavy traffic without a significant performance loss? If not, how much 

Using available hardware assitance is almost always better than
software approach. Disabling VLAN hardware assistance also disables
checksum offload on VLAN interface so it may hurt VLAN performance
a lot.

 > will it
 > take to fix the issue with the driver?
 > 

This hardware really make me crazy. There had been many attempts to
fix checksum offload related issues. But it seems that several users
still suffer from bad checksum or VLAN issues. So I guess the root
cause of hardware bug was not yet known. This means that previous
patch to work around hardware bug is not complete.

Hmm, I'm not sure but it could be related with padding. What makes
me wonder is why the first packet of fragmented packet does not
show up on destination host. I guess the second packet of fragmented
packet may be composed of single mbuf. From these information I
will experiment possible combination of work around in next week.
I'll let you know when I have a code.

 > Thanks for your answer.
 > 

-- 
Regards,
Pyun YongHyeon



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