Thread (3 messages) 3 messages, 2 authors, 2008-03-04

Re: capturing vlan on 2.6.18

From: Pavel Krauz <hidden>
Date: 2008-03-04 12:09:22

On Tuesday 04 March 2008 12:18, Pekka Pietikainen wrote:
On Thu, Feb 28, 2008 at 12:26:08PM +0100, Pavel Krauz wrote:
quoted
quoted
quoted
Is this a kernel bug or am I supposed to set something?
It's an unfortunate side effect of hardware VLAN acceleration. It
can't be turned off (apart from patching the driver to not advertise
VLAN acceleration support).
I think that enabling VLAN tags shall be at least kernel run-time or boot time
 configurable option.
Oh, the no VLAN tags with bnx2 is a slightly different matter,
I've used the patch

#ifdef BCM_VLAN
        if (!bp->vlgrp && !(bp->flags & ASF_ENABLE_FLAG))
                rx_mode |= BNX2_EMAC_RX_MODE_KEEP_VLAN_TAG;
#else
Thanks,
I have found out that by disabling the ASF/management firmware through Broadcom 
diagnostic utility I get VLAN tags in the packets. I think that it shall be at least documented
in the driver/help. I have no idea for what the ASF is used for in linux.
There shall be a tool or option how to disable it from user space or at boot time or in driver.

Pavel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help