Announcing the P4 Developer Day 2017 on May 16th, 2017 and P4 Workshop 2017 on May 17th, 2017! Mark your calendars.

Register for P4 Developer Day 2017 on May 16th, 2017 here!

Register for P4 Workshop 2017 on May 17th, 2017 here!

Call for Talks & Demos for P4 Workshop 2017 is complete! Here is the list of accepted proposals!

  • Protocol Independent

    P4 programs specify how a switch processes packets.

  • Target Independent

    P4 is suitable for describing everything from high- performance forwarding ASICs to software switches.

  • Field Reconfigurable

    P4 allows network engineers to change the way their switches process packets after they are deployed.

table routing {
reads {
ipv4.dstAddr : lpm;
}
actions { do_drop;
route_ipv4;
}
size: 2048;
}

control ingress {
apply(routing);
}
TRY IT Get the code
from GitHub

SEE HOW P4 WORKS

- 12 MIN

STAY CONNECTED

Subscribe to our announcements mailing list

SUBSCRIBE