[P4-dev] Reg: Disabling features of P4 Switch

Antonin Bas antonin at barefootnetworks.com
Wed Mar 16 14:21:57 EDT 2016


Hi Mohan,

You should be able to turn features off by editing this file:
https://github.com/p4lang/switch/blob/master/p4src/includes/p4features.h

Thanks,

Antonin

On Wed, Mar 16, 2016 at 3:56 AM, Mohan Krishna <mohankrishna290787 at gmail.com
> wrote:

> Hi,
>
> Is it possible to compile target switch by disabling some features like
> MPLS ?
>
> If it is possible, can you please tell me how could it be done.
>
> Thanks & Regards.
> Mohan
>
> _______________________________________________
> 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/20160316/9f1c83db/attachment-0002.html>


More information about the P4-dev mailing list