Bug 214359

Summary: [vxlan] [patch] make if_vxlan(4) compatible with if_bridge(4)
Product: Base System Reporter: Eugene Grosbein <ports>
Component: kernAssignee: Bryan Venteicher <bryanv>
Status: Closed FIXED    
Severity: Affects Some People CC: bryanv, olevole
Priority: --- Keywords: patch
Version: 11.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
sumulate full-duplex link to please if_bridge none

Description Eugene Grosbein 2016-11-09 11:59:29 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-12-02 22:05:06 UTC
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