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
I got tired of writing standard_metadata_t on the parameter lists of the various v1model controls that need it. So I abbreviated by saying
typedef standard_metadata_t SM;
I expected this would be just fine, since section 7.3 in the 2017-05-22 P4_16 spec says "The two types are treated as synonyms, and all operations that can be executed using the original type can be also executed using the newly created type."
I got tired of writing standard_metadata_t on the parameter lists of the various v1model controls that need it. So I abbreviated by saying
I expected this would be just fine, since section 7.3 in the 2017-05-22 P4_16 spec says "The two types are treated as synonyms, and all operations that can be executed using the original type can be also executed using the newly created type."
Here is my test file: smeta.p4.txt
p4c says:
The text was updated successfully, but these errors were encountered: