VLAN trunking and fragmentation

Pyun YongHyeon pyunyh at gmail.com
Sun Mar 16 21:39:59 PDT 2008


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


More information about the freebsd-net mailing list