Re: [PATCH 2.6.36] vlan: Avoid hwaccel vlan packets when vid not used

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Gross
Date: Monday, December 13, 2010 - 9:07 pm

On Mon, Dec 13, 2010 at 2:45 PM, Matt Carlson <mcarlson@broadcom.com> wrote:

Thanks Matt.

There's actually a little bit more that needs to be done for
conversion.  All references to the vlan group should be gone since
that logic has been moved to the networking core.
tg3_vlan_rx_register() completely disappears and all other code
contained in TG3_VLAN_TAG_USED is unconditionally active.  Ideally,
there would be an Ethtool set_flags function so that the vlan
offloading features could be enabled/disabled for situations like this
to help with debugging.

The reason why I think that this might help is that the problem
manifests when a vlan group is configured, even if that vlan isn't
used.  Since this removes all logic about vlan groups from the driver,
it should avoid any problems in that area.  It's possible that the
actual issue is somewhere else but then it should be easier to find
since we can separate out the different components.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.35 -&gt; 2.6.36 panic when vlan and promisc with tg3, Michael Leun, (Mon Nov 29, 12:17 pm)
Re: [PATCH 2.6.36] vlan: Avoid hwaccel vlan packets when v ..., Jesse Gross, (Mon Dec 13, 9:07 pm)