ipdk-io/networking-recipe

[ovsp4rt] ES2K PrepareFdbRxVlanTableEntry port field

Opened this issue · 0 comments

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.