[P4-dev] 2 questions
jnfoster at cs.cornell.edu
Thu Jun 8 02:42:19 EDT 2017
1) You can see an example of packet cloning here:
2) See the P4 tutorial slides, starting around page 91, for a description
of the "PD" API.
On Sun, Jun 4, 2017 at 1:08 PM, Garegin Grigoryan <grigorg at clarkson.edu>
> Thank you!
> 1) Could you give a code example (or a reference) for P4_16 standard
> regarding packet cloning?
> 2) What kind of control plane API for bmv2 model is available?
> On Fri, Jun 2, 2017 at 2:21 PM, Nate Foster <jnfoster at cs.cornell.edu>
>> 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.
> Garegin Grigoryan
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev