[Bug 249427] Creating bHyve virtual machines cause network flaps intel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 20 10:00:24 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249427

Aleksandr Fedorov <afedorov at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afedorov at FreeBSD.org

--- Comment #4 from Aleksandr Fedorov <afedorov at FreeBSD.org> ---
This is not the problem from bhyve side. The main problem is adding
if_tuntap(4) to if_bridge(4) with igb(4) interface. When you add an interface
without support TSO/CSUM e.t.c to if_bridge(4) which already has igb(4) with
TSO/CSUM enabled, than if_bridge(4) resets offload flags on all interfaces.
This is leads to link flap on igb(4).

So, it's work as expected, and described in if_bridge(4) manual page:

     The TOE, TSO, TXCSUM and TXCSUM6 capabilities on all interfaces added to
     the bridge are disabled if any of the interfaces doesn't support/enable
     them.  The LRO capability is always disabled.  All the capabilities are
     restored when the interface is removed from the bridge.  Changing
     capabilities at run-time may cause NIC reinit and a link flap.

As a workaround, you can turn off the offload flags on the igb(4) interface at
boot time in /etc/rc.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list