Remove code to disable IFCAP_VLAN_HWFILTER by default for ixgbe(4) as VLAN
events are passed through by lagg(4) ever since r203548. Deactivation of this capability by default due to lagg(4) was already not done for ixgbev(4) and has been - although inadvertently - broken when em(4)/igb(4)/lem(4) and ixl(4) were converted to iflib(9) in r311849 and r335338 respectively. Reviewed by: erj Differential Revision: https://reviews.freebsd.org/D15720 (part of)
This commit is contained in:
parent
78f79a9a08
commit
ba06b626d1
@ -1180,15 +1180,6 @@ ixgbe_setup_interface(if_ctx_t ctx)
|
||||
|
||||
adapter->max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN;
|
||||
|
||||
/*
|
||||
* Don't turn this on by default, if vlans are
|
||||
* created on another pseudo device (eg. lagg)
|
||||
* then vlan events are not passed thru, breaking
|
||||
* operation, but with HW FILTER off it works. If
|
||||
* using vlans directly on the ixgbe driver you can
|
||||
* enable this and get full hardware tag filtering.
|
||||
*/
|
||||
if_setcapenablebit(ifp, 0, IFCAP_VLAN_HWFILTER);
|
||||
adapter->phy_layer = ixgbe_get_supported_physical_layer(&adapter->hw);
|
||||
|
||||
ixgbe_add_media_types(ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user