Skip to content

HLD: config-driven static L2 forwarding (per-VLAN MAC-learning disable, BUM flood disable, static FDB)#2468

Open
AnantKishorSharma wants to merge 1 commit into
sonic-net:masterfrom
AnantKishorSharma:static-l2-forwarding-hld
Open

HLD: config-driven static L2 forwarding (per-VLAN MAC-learning disable, BUM flood disable, static FDB)#2468
AnantKishorSharma wants to merge 1 commit into
sonic-net:masterfrom
AnantKishorSharma:static-l2-forwarding-hld

Conversation

@AnantKishorSharma

@AnantKishorSharma AnantKishorSharma commented Jul 21, 2026

Copy link
Copy Markdown

What

Adds a High Level Design for config-driven static L2 forwarding — three independent,
per-VLAN, SAI-backed features, each usable on its own and defaulting to today's behavior
(no functional change unless explicitly configured):

  1. Per-VLAN MAC-learning disableSAI_VLAN_ATTR_LEARN_DISABLE
  2. Per-VLAN BUM flood disableSAI_VLAN_ATTR_*_FLOOD_CONTROL_TYPE = NONE
  3. Static FDB via CONFIG_DBSAI_FDB_ENTRY_TYPE_STATIC (completes the approved
    Layer-2 Forwarding Enhancements design, Layer 2 forwarding enhancements HLD #379)

The design adds CONFIG_DB schema + YANG + the config→APPL plumbing (cfgmgr + orchagent);
the SAI attributes already exist and FdbOrch is unchanged.

Document

doc/static-l2-forwarding/Static_L2_Forwarding_HLD.md

Related PRs:

Repo PR title State
sonic-swss Static L2 forwarding: mac_learning, BUM flood, static FDB state
sonic-buildimage sonic-yang-models: static L2 forwarding YANG state
sonic-utilities config: config mac add/del for static FDB state
sonic-mgmt tests/vlan: static L2 forwarding tests state

Feature request: sonic-net/sonic-buildimage#28539.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@AnantKishorSharma AnantKishorSharma changed the title Add HLD: config-driven static L2 forwarding (per-VLAN MAC-learning disable, BUM flood disable, static FDB) HLD: config-driven static L2 forwarding (per-VLAN MAC-learning disable, BUM flood disable, static FDB) Jul 21, 2026
@AnantKishorSharma
AnantKishorSharma force-pushed the static-l2-forwarding-hld branch from a507cd9 to 7711af1 Compare July 22, 2026 08:07
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

…sable, BUM flood disable, static FDB)

Signed-off-by: Anant Kishor Sharma <anant.kishor-sharma@hpe.com>
@AnantKishorSharma
AnantKishorSharma force-pushed the static-l2-forwarding-hld branch from 7711af1 to e1549d5 Compare July 22, 2026 08:24
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants