You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PrepareFdbTxVlanTableEntry function encodes the src_port input as a single byte.
The input value (src_port in the mac_learning_port_info struct) is uint32_t.
The parameter value (port_id in the remove_vlan_and_fwd action) is bit<32>.
This appears to be an error.
If it's not a bug, the code should contain a comment acknowledging the truncation and explaining why this is not an error.
If it is a bug, it should be fixed. The unit test should be updated.
Question:
What is the nominal maximum value of a source port? Is is really 32 bits? This should be documented in the code and/or a supporting document. Note that this question needs to be answered for dpdk as well as es2k.
The text was updated successfully, but these errors were encountered:
The
PrepareFdbTxVlanTableEntry
function encodes thesrc_port
input as a single byte.src_port
in themac_learning_port_info
struct) is uint32_t.port_id
in theremove_vlan_and_fwd
action) is bit<32>.This appears to be an error.
Question:
The text was updated successfully, but these errors were encountered: