[P4-dev] Parser Exception Handling

Antonin Bas antonin at barefootnetworks.com
Tue Feb 16 15:32:56 EST 2016


Yes, you are correct; I thought it was a custom exception and did not
realize it was a standard one.
I guess the bottom line is that exceptions are not supported, whether in
p4-hlir or in the bmv2 switch model.

On Tue, Feb 16, 2016 at 12:15 PM, David George <david.george at netronome.com>
wrote:

> Hi Antonin
>
> I believe David H. is correct in that p4-hlir doesn't support implicit
> parser exceptions (out-of-packet and the like). One would only reference
> custom parser exceptions in the parser definition; implicit exceptions
> should "just happen". This is my understanding of the spec at least.
>
> Regards,
> David George
>



-- 
Antonin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20160216/920bb2da/attachment-0002.html>


More information about the P4-dev mailing list