Skip to content

Exercises for PSA or TNA #686

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

Open
Mohxen opened this issue May 5, 2025 · 1 comment
Open

Exercises for PSA or TNA #686

Mohxen opened this issue May 5, 2025 · 1 comment

Comments

@Mohxen
Copy link

Mohxen commented May 5, 2025

Hello everyone, and dear @jafingerhut,

I would like to ask whether similar exercises — including both P4 code and control plane components — are available for the PSA or TNA architectures.

Any guidance or pointers would be greatly appreciated.

@jafingerhut
Copy link
Collaborator

In this repository today, there are no such exercises.

TNA architecture

For TNA, I believe that Vladimir Gurevich has similar exercises, but you can only access them if you purchase them as part of his training classes, and last I heard a prerequisite for being able to purchase them is signing an Intel NDA for the Tofino SDE.

Now that the Tofino back end compiler and most of the SDE, enough to compile and run Tofino P4 programs on the simulation model, is public (https://github.com/p4lang/open-p4studio), anyone with the time and interest could create a set of exercises for them if they wished.

PSA architecture

BMv2 currently has the beginning of support for PSA, but it is far from complete. It is definitely not complete enough to have the kinds of exercises in this repo written and working on them.

P4-DPDK might be complete enough in its PSA implementation in the p4c-dpdk compiler, but I do not know whether its P4Runtime API support is sufficient for these exercises, or if so, how to build that from source code. Some lower-level native P4-DPDK API might work for adding/modifying/removing table entries, but I do not know enough about how that works, or where to find documentation on it, except perhaps by reading through P4-DPDK source code.

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