[P4-dev] What about a packet is preserved from ingress to egress with P4_16 and v1model.p4?

Andy Fingerhut andy.fingerhut at gmail.com
Mon Apr 24 02:24:49 EDT 2017


Here is a link to an excerpt of v1model.p4 checked into the P4_16 compiler
repository:

https://github.com/p4lang/p4c/blob/master/p4include/v1model.p4#L130-L152

>From reading that, and from trying a few experiments, my guess is that
whatever the ingress pipeline does to modify the parsed headers in type H,
and however it modifies the metadata with type M, and the
standard_metadata_t parameter, every bit of all of those types will become
the values that the packet will begin with when the egress control block is
run for that packet.

Does that sound correct?

Thanks,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170423/edf92261/attachment-0002.html>


More information about the P4-dev mailing list