p4lang / tutorials

P4 language tutorials
Apache License 2.0
1.37k stars 891 forks source link

If I write the code in ingress's apply, how will it be implemented? #441

Closed Jinghui-Jiang closed 2 years ago

Jinghui-Jiang commented 3 years ago

Hi, If I write the code in ingress's apply, how will it be implemented? Is it deployed as something like action? I wrote some code in ingress's apply and reported the following error (I did not explicitly call table): image

jfingerh commented 3 years ago

If this is while using Tofino's development tools, I would recommend asking in Intel-specific support forums for Intel.

If this is using open source P4 development tools, I would recommend asking on forum.p4.org. Others will be able to help you more if you are willing to publish the P4 program you are using as part of your question, e.g. as a link to some public Github repo where you have committed your code.

jafingerhut commented 2 years ago

Closing this issue, as I think it has been addressed as much as it can be without further follow-up in Intel-specific forums. forum.p4.org is also recommended for general P4 questions.