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

Support multiple same table invocations in pipeline #599

Open
antoninbas opened this issue May 10, 2018 · 4 comments
Open

Support multiple same table invocations in pipeline #599

antoninbas opened this issue May 10, 2018 · 4 comments
Assignees

Comments

@antoninbas
Copy link
Member

P4_16 has no limitation on how many times the same table can be applied. Right now this is not supported by bmv2 (except potentially some very specific cases) because the JSON representation for P4 controls (as a table graph whose edges are actions) doesn't support it.

@antoninbas antoninbas self-assigned this May 10, 2018
@antoninbas
Copy link
Member Author

See p4lang/p4c#457 for detailed description.

@qobilidop
Copy link
Member

Is anyone working on solving this? If not, I'd like to have a try.

@antoninbas
Copy link
Member Author

You are welcome to give it a go. However, for the sake of setting expectations, please be aware that it is not a trivial task:

  • the schema of the JSON file consumed by bmv2 needs to be extended, while ensuring backwards-compatibility (i.e., old JSON files should keep working)
  • bmv2 itself needs to be updated to support this
  • the p4c bmv2 backend needs to be updated to support this

@qobilidop
Copy link
Member

Understood. Thanks for the information. I'll see how far I can go on this.

@antoninbas antoninbas assigned qobilidop and unassigned antoninbas Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants