Skip to content

When i deployed p4app-switchML into the bmv2 simulate switch(based on Ubuntu20.04 VM), but compiled the switchml.p4 failed. #44

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
18711303833 opened this issue Dec 31, 2024 · 3 comments

Comments

@18711303833
Copy link

image
I know the tna.p4 is for the tofino switch,but now i want to do it in bmv2, how can i handle this issue?sir

@jafingerhut
Copy link

The only way I know is to modify all of the P4 code to use the v1model architecture, which is the P4_16 architecture that BMv2 supports best. BMv2 has not been enhanced to support the TNA architecture.

@jafingerhut
Copy link

Note that we expect the Tofino P4 compiler and simulation model to be available for free, without signing an NDA, some time in January 2025. No specific date is scheduled yet, though. When that is released, you should be able to compile the TNA P4 source code in the repository, and simulate it on a computer running the simulation model, without paying any money to anyone, nor having to sign an NDA.

@18711303833
Copy link
Author

Note that we expect the Tofino P4 compiler and simulation model to be available for free, without signing an NDA, some time in January 2025. No specific date is scheduled yet, though. When that is released, you should be able to compile the TNA P4 source code in the repository, and simulate it on a computer running the simulation model, without paying any money to anyone, nor having to sign an NDA.请注意,我们预计 Tofino P4 编译器和仿真模型将在 2025 年 1 月的某个时候免费提供,而无需签署 NDA。不过,目前还没有安排具体日期。当它发布时,您应该能够在存储库中编译 TNA P4 源代码,并在运行仿真模型的计算机上对其进行仿真,而无需向任何人支付任何费用,也不必签署 NDA。

wow haha, got it,Thank you very much!!!

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