Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 13:39:45 +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:  <20080317043945.GA2503@cdnetworks.co.kr>
In-Reply-To: <47DA9BC0.8030205@zirakzigil.org>
References:  <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> <20080314122708.GG22788@cdnetworks.co.kr> <47DA9BC0.8030205@zirakzigil.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 14, 2008 at 04:37:36PM +0100, Giulio Ferro wrote:
 > Pyun YongHyeon wrote:
 > >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.
 > >
 > >  
 > Great! Thanks for the good job.
 > 

Please try latest attempt to fix re(4) issues.
 http://people.freebsd.org/~yongari/re/if_re.c
 http://people.freebsd.org/~yongari/re/if_rlreg.h

This one is attempt to fix the following bug reports on re(4).
 - VLAN tagging does not work on multi-fragmented frames.
 - Non-working/instability on re(4) hardwares that uses MSI.
 - Unconditional VLAN tag stripping without respect to ifconfig
    configuration.
 - ENOBUFS on transmitting UDP frames under heavy network loads.
 - DAC does not work.

This one removed previous checksum offload hack for checksum offload
on PCIe hardwares so I'm not sure checksum offload still work on
PCIe hardwares. Please test and let me know how it goes.
Also make sure you have all hardware features enabled.(checksum
offload, TSO, VLAN hardware tagging etc).

-- 
Regards,
Pyun YongHyeon



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