[P4-dev] Mapping between egress port and egress pipeline

Eric Ruan ruanweizhang at gmail.com
Tue Jul 18 06:35:58 EDT 2017


Dear Antonin, Andy and all,

I wonder the mapping between egress port and egress pipeline is 1:1 or
many:1.
To the best of my knowledge, the egress port is the output port of switch.
The egress port has to be set in the ingress pipeline before the packet is
routed to the egress pipeline.
If 1:1 is the case, then it makes sense that the egress port cannot be
changed in egress pipeline. But what is the design principle behind of
this? Since this is kind of waste of resources.
If many:1 is the case, then why is it not allowed to change the egress port
in egress pipeline?
Thanks in advance.

Best,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170718/bed6e5f3/attachment-0002.html>


More information about the P4-dev mailing list