[P4-dev] P4 on hw

Bortoli, Tomas tomas.bortoli at sit.fraunhofer.de
Thu Apr 20 11:52:35 EDT 2017

Thanks for the reply,

Do you know some switches that can support P4 natively?

Probably OpenSwitch requires too much capabilities because the board only offers 512KB of flash and 128KB of RAM

The Makefile for the Zodiac firware defines:

ARMGCC = arm-none-eabi-
CC = $(ARMGCC)gcc

So, a cross compilation should be possible unless it's impossible to satisfy all the dependencies..correct me if i am wrong.


From: Yi Tseng [a86487817 at gmail.com]
Sent: Wednesday, April 19, 2017 8:08 PM
To: Bortoli, Tomas
Cc: p4-dev at lists.p4.org
Subject: Re: [P4-dev] P4 on hw


As far as I know, now there are few switch with Tofino chip embedded can support P4 (native)

However, you can also try using OpenSwitch + bmv2 for your hardware switch

Zodiac FX is programmable I think, but you still need a backend compiler to compile HLIR to Zodiac binary (ARM Cortex-M4)


2017-04-19 5:47 GMT-07:00 Bortoli, Tomas <tomas.bortoli at sit.fraunhofer.de<mailto:tomas.bortoli at sit.fraunhofer.de>>:
Hi all,

I am looking for information on how a P4 program can be actually compiled and flashed in a hardware switch (for example the Zodiac FX). Anybody can help ?

Thanks in advance,

P4-dev mailing list
P4-dev at lists.p4.org<mailto:P4-dev at lists.p4.org>

Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170420/31f8ef61/attachment-0002.html>

More information about the P4-dev mailing list