Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 13:22:24 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        "Jacob S. Barrett" <jbarrett@amduat.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Disabling VLAN_HWTAGGING
Message-ID:  <16488.26976.314273.752771@canoe.dclg.ca>
In-Reply-To: <200403251650.35714.jbarrett@amduat.net>
References:  <200403251118.40718.jbarrett@amduat.net> <20040325234527.GC85417@ip.net.ua> <200403251650.35714.jbarrett@amduat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Jacob" == Jacob S Barrett <jbarrett@amduat.net> writes:

Jacob> On Thursday 25 March 2004 03:45 pm, you wrote:
>> > Can you disable VLAN_HWTAGGING?
>> 
>> Not without modifying if_nge.c, but it should be pretty trivial.

Jacob> As trivial as setting chaning:
ifp-> if_capabilities = IFCAP_HWCSUM | IFCAP_VLAN_HWTAGGING;
Jacob> to:
ifp-> if_capabilities = 0;

Jacob> This didn't solve the problem completely though.  On the remote
Jacob> host I can now see tagged frames from the if_nge host, but the
Jacob> reply frames from the if_em host or not visible at all on the
Jacob> if_nge host (via tcpdump).

Are you dumping all packets?  We've found that you can dump a specific
vlan on nge's, but you can't get good data by dumping the raw port
itself.  No matter how it's set, in both Linux and FreeBSD, many nge
chipsets will not show vlan packets from the driver with a tcpdump.

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



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