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

Define a way to express read-modify-write data in a per-table-entry fashion #5

Open
jafingerhut opened this issue Sep 18, 2024 · 0 comments
Labels
bigtask A task that appears to require a big amount of work

Comments

@jafingerhut
Copy link
Collaborator

Links:

Mario Baldi has proposed what I would consider a more natural-to-write technique whereby P4 actions have a new "direction" on some of its parameters, such that it enables P4 writers to assign values to those action parameters within the body of the action, and the new values assigned will be "written back" to the data associated with that table entry when the action is finished executing, which logically must complete before the next packet that matches the same entry begins executing that action, which should always see the data as updated by the previous packet matching that entry.

TODO: It would be good to link here to some practical public examples that use these.

TODO: Link to Mario's public presentation to PNA work group here.

TOOD: Is it straightforward to write a P4 compiler that transforms Mario's style of P4 code into code that works with TNA's externs? If yes, then that would be nice for the Tofino P4 compiler to implement.

@jafingerhut jafingerhut added the bigtask A task that appears to require a big amount of work label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigtask A task that appears to require a big amount of work
Projects
None yet
Development

No branches or pull requests

1 participant