[P4-discuss] shift_right in Action

Thambi Sreedharan thambisree at gmail.com
Mon Oct 17 23:20:02 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20161017/f3705d56/attachment-0002.html>


More information about the P4-discuss mailing list