Closed r12f closed 8 months ago
Please ignore this PR for review until #479 is checked in.
looks like in certain cases, @name
is required: (@chrispsommers as FYI)
looks like in certain cases,
@name
is required: (@chrispsommers as FYI)
That's fine, there's nothing wrong with the @name annotation, it is widely used and guides P4 artifact generation. The only objection in the past was using the pipe symbol to signify SAI code generation; annotations are preferred.
Rebased on top of #479 without any code changes.
looks like in certain cases,
@name
is required: (@chrispsommers as FYI)That's fine, there's nothing wrong with the @name annotation, it is widely used and guides P4 artifact generation. The only objection in the past was using the pipe symbol to signify SAI code generation; annotations are preferred.
Yep, makes sense!
This change is based on #479 , hence including all changes in the PR.
No update on SAI headers after this change:
2 comments are updated in lib file, but looks like the previous result is wrong:
Take route_vnet as an example, it indeed only take 4 parameters, as ip_is_v6 field doesn't count: