2018-11-08 10:11:24 UTC
current ixgbe driver is using iflib and has IFCAP_VLAN_HWFILTER
enabled by default.
/sys/net/iflib.c iflib_vlan_[un]register() functions have this code:
/* Re-init to load the changes */
if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER)
Thus any vlan reconfiguration leads to link flap. This is not
how it was before iflib conversion.
I'm not sure about other vlanhwfilter aware hardware but
intel x520-da2 cards (82599 chip) does not require re-init
after hwfilter reconfig.
Should we extend iflib framework a bit?