[P4-discuss] shift_right in Action

Antonin Bas antonin at barefootnetworks.com
Tue Oct 18 14:22:44 EDT 2016


Please use the p4-dev mailing list for questions related to the P4
development tools. I am moving this to the p4-dev mailing list.

On Mon, Oct 17, 2016 at 8:20 PM, Thambi Sreedharan <thambisree at gmail.com>
wrote:

> Hi
>
> the p4c_bm/__main__.py is generating json file with  shift_right
> p4-hlir/bin/p4-graphs is giving following error:
>
> Invalid reference to shift_right in file checkTagEn.p4
>
>
> action getTagEn() {
>
>
>         shift_right(egress_metadata.egress_port_tag_en,
> egress_metadata.tag_en, standard_metadata.egress_port);
>
>
> }
>
>
>
> table checkTagEn {
>
>
>         actions {
>
>                 getTagEn;
>
>         }
>
>         size : 1;
>
> }
>
>
> Thambi
>
>
>
>
> _______________________________________________
> P4-discuss mailing list
> P4-discuss at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-discuss_lists.p4.org
>



-- 
Antonin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20161018/8147c274/attachment-0002.html>


More information about the P4-discuss mailing list