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] PrepareTxAccVsiTableEntry truncates vsi match key value #680

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

[ovsp4rt] PrepareTxAccVsiTableEntry truncates vsi match key value #680

ffoulkes opened this issue Aug 31, 2024 · 0 comments

Comments

@ffoulkes
Copy link
Contributor

ffoulkes commented Aug 31, 2024

The PrepareTxAccVsiTableEntry function encodes the VSI match key value as a single byte.

The input parameter (sp) is uint32_t.

The match-key value (vmeta.common.vsi) is bit<11>.

Note

The unit test should test with, and expect, an 11-bit value.

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