[P4-design] Feeling the Need for a Return Instruction
mbudiu at barefootnetworks.com
Tue Aug 18 14:53:07 EDT 2015
The latest spec proposal introduces a "return" instruction for this purpose.
On Tue, Aug 18, 2015 at 11:48 AM, Peter Newman (petenewm) <
petenewm at cisco.com> wrote:
> Do I have an exit instruction in the control flow? I couldn’t find one.
> I’d rather like to tell my multicast ingress control flow that I’m done
> with it. I’m only playing with a tiny example program so I guess in reality
> I’d mark a metadata bit and test for it later in the control flow.
> It seems a pity I can’t just tell it to go dump the packet in the buffer
> and exit.
> P4-design mailing list
> P4-design at p4.org
> Listinfo - http://mail.p4.org/mailman/listinfo/p4-design_p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-design