[P4-dev] how to get metadata in behavioral model with p4_16

Antonin Bas antonin at barefootnetworks.com
Thu Apr 13 11:56:19 EDT 2017


Hi Bian,

I haven't tried using simple_switch's intrinsic metadata with P4_16 so I
don't know if it works. Would you mind sending your P4 program over so I
can take a look and try running it?

Thanks,

Antonin

On Thu, Apr 13, 2017 at 4:45 AM, Bian Jason <imaginezz at outlook.com> wrote:

> Hello,
>
>
>
> I have some questions about how to get metadata in behavioral model with
> p4_16.
>
>
>
> I add a struct named intrinsic_metadata_t in header.p4 and I add the
> metadata as https://github.com/p4lang/behavioral-model/blob/master/
> docs/simple_switch.md said, but the code doesn’t work.
>
>
>
> Thanks,
>
> Jason
>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>



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


More information about the P4-dev mailing list