Created attachment 176815 [details] sumulate full-duplex link to please if_bridge Currently, if_vxlan(4) can be used as port of if_bridge(4) with STP disabled only because STP-enabled bridge keeps such port disabled/discarding permanently. The reason is vxlan fails to show working link state. Attached patch fixes this by simulating 10G full-duplex link for vxlan. With this patch applied, STP-enabled bridge is able to configure vxlan port(s) as designated/forwarding.
A commit references this bug: Author: bryanv Date: Sat Dec 2 22:04:01 UTC 2017 New revision: 326480 URL: https://svnweb.freebsd.org/changeset/base/326480 Log: Add if media and link status events to vxlan PR: 214359 MFC after: 2 weeks Changes: head/sys/net/if_vxlan.c