-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new platform property annotations for P4Runtime. #4611
Conversation
p4lang/p4runtime#472 has been merged. Is this PR ready for review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
@platform_property( | ||
multicast_group_table_size = 10, | ||
multicast_group_table_total_replicas = 20, | ||
multicast_group_table_max_replicas_per_entry = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be really wonderful (but certainly not a blocker) if we could support optional, trailing commas here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, but I believe not currently how the KV parser works, which I just call without modification. @fruffy might know better though?
See this PR for more information: p4lang/p4runtime#472