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] ES2K PrepareFdbRxVlanTableEntry port field #682

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

[ovsp4rt] ES2K PrepareFdbRxVlanTableEntry port field #682

ffoulkes opened this issue Aug 31, 2024 · 0 comments

Comments

@ffoulkes
Copy link
Contributor

ffoulkes commented Aug 31, 2024

The PrepareFdbRxVlanTableEntry function encodes the port field as a single byte.

The source field (rx_src_port) is uint32_t.

The port action param value is bit<32> (PortId_t).

Other port fields take 16-bit values. Is this field a 16-bit value encoded in 32 bits, or can the port ID actually be greater than 65535?

Note

The unit test should expect, and test with, a 32-bit (16-bit?) value.

@ffoulkes ffoulkes changed the title [ovsp4rt] PrepareFdbRxVlanTableEntry truncates vlan_id [ovsp4rt] DPDK PrepareFdbRxVlanTableEntry port field Aug 31, 2024
@ffoulkes ffoulkes changed the title [ovsp4rt] DPDK PrepareFdbRxVlanTableEntry port field [ovsp4rt] ES2K PrepareFdbRxVlanTableEntry port field Aug 31, 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