[P4-dev] no semantic check for a variable-length match field into the table definition

Salvatore Signorello salvatore.signorello at uni.lu
Tue Aug 4 18:12:21 EDT 2015


Hi all,

I've realized that the actual front-end doesn't generate any
warning/error if a table defines a field_match using a variable-length
header field.

There is a TODO at line 923 of the semantic_check.py (hlir module)
suggesting that this check has been voluntarily skipped. Could please
someone shed light on this?

Best,
Salvatore





More information about the P4-dev mailing list