mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 23:50:27 +00:00
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
This commit is contained in:
parent
1fbb36ff80
commit
de13c80e9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140857
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue