[P4-dev] Is there any x86 native target for P4 in the works?

Mihai Budiu mbudiu at vmware.com
Fri Jun 16 18:32:45 EDT 2017


p4c-xdp is also not production-ready.
It really provides a superset of the capabilities of the p4c-ebpf back-end, but there are relatively few tests, and the more complicated P4 programs trigger bugs or limitations in the llvm BPF back-end and with the BPF verifier.

Mihai

From: P4-dev [mailto:p4-dev-bounces at lists.p4.org] On Behalf Of Chris Sommers
Sent: Friday, June 16, 2017 3:23 PM
To: Antonin Bas <antonin at barefootnetworks.com>
Cc: P4-dev at lists.p4.org
Subject: Re: [P4-dev] Is there any x86 native target for P4 in the works?

Thank Antonin! I was aware off the first two; the vmware one was the rumor I was chasing.


-          chris

From: Antonin Bas [mailto:antonin at barefootnetworks.com]
Sent: Friday, June 16, 2017 3:14 PM
To: Chris Sommers <CSommers at ixiacom.com<mailto:CSommers at ixiacom.com>>
Cc: P4-dev at lists.p4.org<mailto:P4-dev at lists.p4.org>
Subject: Re: [P4-dev] Is there any x86 native target for P4 in the works?

I should also have mentioned the vmware ebpf project, p4c-xdp: https://github.com/vmware/p4c-xdp<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fvmware-252Fp4c-2Dxdp-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3DA-252Bx2u5u7zcPQSk5m1yqZlYWdFkHcMiHDTFcJgbUlxjg-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=HEXe8Ehv0VBe6v4TRtvBwAT1chTd7TkPAFUBRDudvdQ&e=>
This project offers more features that the ebpf backend on p4lang.

On Fri, Jun 16, 2017 at 3:12 PM, Antonin Bas <antonin at barefootnetworks.com<mailto:antonin at barefootnetworks.com>> wrote:
Hi Chris,

I am aware of 2 projects that might qualify, but I am not sure if either of them can be considered of production quality at this stage:
- PISCES, a P4-programmable version of OVS: http://pisces.cs.princeton.edu/<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fpisces.cs.princeton.edu-252F-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3DjQM9KDc7lNAohGluv2iOZQocKs7UcJ0p6tvnwzK6mNk-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=7XW_GLsT2sbRFBYeOZVOjf2hRByemoJ5lb0tcfraD8Q&e=>
- P4 at ELTE, a project which generates C code which interfaces with DPDK: https://github.com/P4ELTE/t4p4s<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FP4ELTE-252Ft4p4s-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3DOArWn8L9YV-252FlKjI3QY8H-252FiQu5YkzYWcfS8Rc6dCqZso-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=33z7QPk10gfYS-fBgUSKMBhmkjQjTmfuWwiWSJBRFDc&e=>
I would recommend that you get in touch with the developers for these projects.

Thanks,

Antonin

On Fri, Jun 16, 2017 at 2:32 PM, Chris Sommers <CSommers at ixiacom.com<mailto:CSommers at ixiacom.com>> wrote:
Hi All,
I was wondering if anybody knows of an x86 target for P4 which might be forthcoming? Something which runs at “production” packet rates, suitable for deployment in a VNF or docker container, etc.? This could be either a more complete eBPF target or something else. Thanks.

Regards,
Chris Sommers
Software Architect, IXIA Labs
Keysight Technologies
e: csommers at ixiacom.com<mailto:csommers at ixiacom.com>
t: 530.679.0145<tel:(530)%20679-0145>
www.ixiacom.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.ixiacom.com-252F-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3D0y58aAZpPAyuZI-252Fz0yaJbsvmKBQh1q74c-252BLCj-252BooTSY-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=8AZ1nXX6q13Wvr1o3nlXknDL7CTw-ynPyuVo6cKCLaA&e=>
[cid:image002.jpg at 01D2E6B5.CB73D200]<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fwww.ixiacom.com-252Fkeysight-2Dtechnologies-253Futm-5Fsource-253Dhomepage-2Dbanner-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3DzqFKmRaCQrVPfZ0nk43eOksLS1A05Bb8T0d9FnsxWhk-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=h86MALgV-3NWOcw-xeyOrIS_L0PArFfIfx7vtbBEGbc&e=>


_______________________________________________
P4-dev mailing list
P4-dev at lists.p4.org<mailto:P4-dev at lists.p4.org>
http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Flists.p4.org-252Fmailman-252Flistinfo-252Fp4-2Ddev-5Flists.p4.org-26data-3D02-257C01-257CCSommers-2540ixiacom.com-257C29db474a8a2544edc92408d4b5050437-257C069fd614e3f843728e18cd06724a9b23-257C0-257C0-257C636332480528856809-26sdata-3D2JxrohCvzcMpjZJMBCF8-252FiTbdRHqCWYKeM30b6NIUrk-253D-26reserved-3D0&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=uvdvyxk6Htd3fx3_cW7BWSF0ejSGThZHaBRvsBbOZRE&s=SYxv31R47nrCtoL8jO8mZDbA20aB78Np1iCqqBnU07A&e=>



--
Antonin



--
Antonin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170616/4fa04ba5/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 10522 bytes
Desc: image002.jpg
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170616/4fa04ba5/attachment.jpg>


More information about the P4-dev mailing list