ix0 (iflib) vlans @ head & 12-stable

Lev Serebryakov lev at FreeBSD.org
Thu Nov 8 10:14:54 UTC 2018


On 08.11.2018 13:11, Oleg Bulyzhin wrote:

> 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.
 On 12 each cpability reconfiguration for em/igb/ix leads to link flap,
where 11 doesn't need this flap for most of capabilities of these cards.

 IMHO, it is regression.

-- 
// Lev Serebryakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20181108/46723192/attachment.sig>


More information about the freebsd-net mailing list