Disabling VLAN_HWTAGGING
David Gilbert
dgilbert at dclg.ca
Mon Mar 29 10:22:27 PST 2004
>>>>> "Jacob" == Jacob S Barrett <jbarrett at 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 at daveg.ca | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
More information about the freebsd-net
mailing list