Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ovsp4rt] PrepareVxlanDecapModAndVlanPushTableEntry truncates vlan_id #678

Open
ffoulkes opened this issue Aug 31, 2024 · 0 comments
Open

Comments

@ffoulkes
Copy link
Contributor

ffoulkes commented Aug 31, 2024

The PrepareVxlanDecapModAndVlanPushTableEntry function encodes the vlan_id action parameter as a single byte.

The source field (vlan_info.port_vlan) is int.

The vlan_id action parameter is bit<12>.

Note

The unit test should test with, and expect, a 12-bit value.

@ffoulkes ffoulkes changed the title [ovsp4rt] PrepareVxlanDecapModAndVlanPushTableEntry truncates vlan_id to 8 bits [ovsp4rt] PrepareVxlanDecapModAndVlanPushTableEntry truncates vlan_id Sep 1, 2024
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

No branches or pull requests

1 participant