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
@ -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…
x
Reference in New Issue
Block a user