diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-26 11:40:58 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-26 11:40:58 +0000 |
commit | ab578b0a37eb6453f6b2b1880f52cb94b6528670 (patch) | |
tree | 5ffd067d89150d8a070b6a90df1a93d4d05e499a /sys/dev/em | |
parent | 6a761a566aaa68fd518d01a20aee1fd603d14a16 (diff) | |
download | FreeBSD-src-ab578b0a37eb6453f6b2b1880f52cb94b6528670.zip FreeBSD-src-ab578b0a37eb6453f6b2b1880f52cb94b6528670.tar.gz |
Disable use of hardware VLAN tagging and stripping in if_em in the default
configuration: it appears to work properly in the non-promiscuous case, but
we've not yet implemented a more general solution that maintains full
functionality with promiscuous mode enabled. While my hope is that we can
get one implemented soon, this will improve functionality substantially in
the mean time.
MFC after: 3 days
Diffstat (limited to 'sys/dev/em')
-rw-r--r-- | sys/dev/em/if_em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index cd2b77e..36faddd 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -1945,7 +1945,7 @@ em_setup_interface(device_t dev, struct adapter * adapter) ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); #if __FreeBSD_version >= 500000 ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; - ifp->if_capenable |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; + ifp->if_capenable |= IFCAP_VLAN_MTU; #endif #ifdef DEVICE_POLLING |