ix0 (iflib) vlans @ head & 12-stable
Oleg Bulyzhin
oleg at FreeBSD.org
Thu Nov 8 10:11:35 UTC 2018
While testing 12-stable i've found following:
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)
iflib_if_init_locked(ctx);
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?
--
Oleg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20181108/56329f85/attachment.sig>
More information about the freebsd-net
mailing list