Comments (2)
As an example of a different P4 program with comments intended for someone brand new to P4, to learn a few things from the comments, you can take a look at this one:
https://github.com/jafingerhut/p4-guide/blob/master/demo1/demo1-heavily-commented.p4_16.p4
It may be more verbose in its comments than you want, but you are welcome to copy any or all of it and adapt it for the tutorials, if you find it helpful.
from tutorials.
Thanks @jafingerhut!
from tutorials.
Related Issues (20)
- Unwanted packets during the p4 in mininet
- iperf has no result
- JSON error while make run HOT 1
- ModuleNotFoundError: No module named 'p4.tmp' HOT 3
- Topology.json and MAC Addr of next port HOT 7
- Include a link to the p4-guide installation scripts in the README HOT 5
- gRPC Error: Register reads are not supported yet (UNIMPLEMENTED) HOT 22
- How to close all logs? HOT 14
- ../../utils/Makefile:35: recipe for target 'run' failed HOT 4
- VM Image link issue HOT 9
- VM installation issue HOT 4
- Run the p4c tests HOT 3
- Issue with p4lang tutorials/exercises/basic HOT 2
- error:Invalid JSON file: build/ HOT 1
- xxx.p4.p4info.txt is empty HOT 2
- doubt HOT 1
- Incorrect output when using HashAlgorithm.crc16_custom consecutive times HOT 1
- [build error]When I want to compile the ECN project,error interrupt after I input 'make' command HOT 1
- running bmv2 on DPU BlueField-2 HOT 5
- MRI example,how does the P4 get theinformationof the switch when it is running? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutorials.