[P4-dev] Why do we need header stacks?

Wu, Xiaoban Xiaoban_Wu at student.uml.edu
Thu Dec 27 11:44:41 EST 2018


Dear All,


Could anyone please tell me in the real-world application, in which scenario would we consider using an array of header instances with the same header type?


In the P4 spec, it says "MPLS and VLAN tags are examples that might be treated this way", however I still don't quite understand it. Could anyone please elaborate on this? Thanks very much.


Best wishes,

Xiaoban


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20181227/77e2d789/attachment.html>


More information about the P4-dev mailing list