-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update p4-examples README #40
Conversation
Updated p4-examples with the up-to-date instructions and made it a proper markdown file. Signed-off-by: Vladimir Gurevich <[email protected]>
pkgsrc/p4-examples/README.md
Outdated
To build all P4_14 examples use the command: | ||
|
||
``` | ||
$SDE/p4studio/p4studio build p4-16-programs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the command to build all P4_14 programs be different than the one to build all P4_16 programs above?
pkgsrc/p4-examples/README.md
Outdated
sudo $SDE_INSTALL/bin/veth_setup.sh | ||
``` | ||
|
||
To run the PTF tests on the Tofino Model you will need 3 separate windows (or, at least, shell sessions). Again, it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incomplete sentence "Againt, it" above. Remove, or complete the thought?
pkgsrc/p4-examples/README.md
Outdated
* `p4_16_programs` | ||
Example P4_16 programs | ||
* `programs` | ||
Example P4_14 programs/to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "/to" at the end of this line looks like a typo.
pkgsrc/p4-examples/README.md
Outdated
$SDE/run_p4_tests.sh [--arch tofino2] -p example_name | ||
``` | ||
|
||
Please, be aware that the scripts mentioned above have special code to make running the examples as easy as possible by being aware and properly consuming additional files stored in the examples' subdirectores. Running your pwn programs and their PTF tests might require additional options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: pwn -> own?
Fixed the typos as per @jafingerhut 's comments Signed-off-by: Vladimir Gurevich <[email protected]>
Thanks, @jafingerhut -- all fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Updated p4-examples with the up-to-date instructions and made it a proper markdown file.