Skip to content

feat: add vlanid - tunnelid mapping support#1074

Merged
aboch merged 1 commit intovishvananda:mainfrom
zlaval:tunnel-vlan-mapping
May 9, 2025
Merged

feat: add vlanid - tunnelid mapping support#1074
aboch merged 1 commit intovishvananda:mainfrom
zlaval:tunnel-vlan-mapping

Conversation

@zlaval
Copy link
Copy Markdown

@zlaval zlaval commented Apr 11, 2025

Vlan tunnel info feature #907

The PR makes possible to bind the vlan id with tunnel id (vxlan vni).

This was extracted from PR 1032

}

func (h *Handle) bridgeVlanModify(cmd int, link Link, vid, vidEnd uint16, pvid, untagged, self, master bool) error {
func (h *Handle) bridgeVlanModify(cmd int, link Link, vid, vidEnd uint16, tunid, tunidEnd uint32, pvid, untagged, self, master bool) error {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list of parameters is becoming long.
Although it is an internal method, I am wondering whether we should pass a structure of parameters instead

@aboch
Copy link
Copy Markdown
Collaborator

aboch commented May 9, 2025

LGTM

@aboch aboch merged commit 06c2c01 into vishvananda:main May 9, 2025
3 of 4 checks passed
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