Skip to content
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

Update Index message in p4runtime.proto to support bytes #416

Open
antoninbas opened this issue Feb 17, 2023 · 1 comment
Open

Update Index message in p4runtime.proto to support bytes #416

antoninbas opened this issue Feb 17, 2023 · 1 comment

Comments

@antoninbas
Copy link
Member

But I feel like we have opened a can of worms: we also need to address the case of counters / meters, for which the index field should probably be changed to bytes as well. It makes the API less convenient to use IMO, but it makes sense in a way since PSA typically uses bit<W> values to index counters in the datapath.

Originally posted by @antoninbas in #329 (comment)

@smolkaj
Copy link
Member

smolkaj commented Feb 25, 2023

Thanks for opening this for tracking. Agreed on all points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants