[P4-dev] resubmit in bmv2
antonin at barefootnetworks.com
Thu Nov 2 14:38:14 EDT 2017
If you keep resubmitting the packet over and over again you are going to
get an infinite loop. That's the definition of resubmit.
You need to check the value of standard_metadata.instance_type in the
ingress pipeline. If the packet has already been resubmitted (i.e. of the
value of this metadata field is 6, as per
you probably want to avoid calling resubmit again on this packet.
On Thu, Nov 2, 2017 at 5:17 AM, Roshan <sedar at oasis.uclouvain.be> wrote:
> When I add resubmit primitive in p4-bmv2 creates an infinite loop. What
> could be the reason for that?
> I have added switch intrinsic metadata also.
> P4-dev mailing list
> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev