On Tue, Dec 14, 2010 at 11:16 PM, Michael Leun
<lkml20101129@newton.leun.net> wrote:
Random behavior? This one is somewhat hard to explain - maybe there
are some other factors. eth0 has ASF on, so it always strips tags. I
would expect it to behave like the vlan configured case.
Both ASF and vlan group configured cause tag stripping to be enabled.
Missing tag.
No ASF and no vlan group means tag stripping is disabled. Have tag.
Configuring vlan group causes stripping to be enabled. Missing tag.
ASF enables tag stripping. Missing tag.
No ASF, no vlan group means no stripping. Have tag.
ASF enables stripping. Missing tag.
With this patch vlan stripping is only enabled when ASF is on, so no
stripping. Have tag.
With the second patch, vlan stripping is always enabled. Missing tag.
Stripping still always enabled. Missing tag.
The bottom line is whenever vlan stripping is enabled we're missing
the outer tag. It might be worth adding some debugging in the area
before napi_gro_receive/vlan_gro_receive (depending on version). My
guess is that (desc->type_flags & RXD_FLAG_VLAN) is false even for
vlan packets on this NIC.
You said that everything works on the 5752? Matt, is it possible that
the 5714 either has a problem with vlan stripping or a different way
of reporting it?
Also, why does ASF require vlan stripping?
--