Bug 214359 - [vxlan] [patch] make if_vxlan(4) compatible with if_bridge(4)
Summary: [vxlan] [patch] make if_vxlan(4) compatible with if_bridge(4)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Bryan Venteicher
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-11-09 11:59 UTC by Eugene Grosbein
Modified: 2017-12-31 15:26 UTC (History)
2 users (show)

See Also:


Attachments
sumulate full-duplex link to please if_bridge (2.86 KB, patch)
2016-11-09 11:59 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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