[P4-design] Feeling the Need for a Return Instruction

Peter Newman (petenewm) petenewm at cisco.com
Tue Aug 18 14:48:51 EDT 2015


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.

—Peter





More information about the P4-design mailing list