[P4-dev] 2 questions

Nate Foster jnfoster at cs.cornell.edu
Fri Jun 2 17:21:38 EDT 2017

> 1) Is it possible to clone packets at the data plane and forward a cloned
> packet through the pipeline to the egress and then output it?

Yes, although the details of how cloning works are architecture specific.

> 2) How can I print the contents of a table and registers in P4?

You need to write a program against the control-plane API for your P4
program to do this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170602/ceb02296/attachment-0002.html>

More information about the P4-dev mailing list