Skip to content

barefootnetworks/Open-Tofino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Tofino

We are openly publishing these files to make it possible for anyone developing Tofino-specific P4 data plane programs (both P414 and P416 versions) and related control plane applications to openly publish their data plane and control plane code.

License

The files are licensed under Creative Commons Attribution-NoDerivs (CC BY-ND 4.0) license (https://creativecommons.org/licenses/by-nd/4.0/legalcode). The text of the license can also be found in the LICENSE file.

Contents

This repository contains the files that describe the P4 target architecture for Intel® Tofino™ and Intel ® Tofino 2™. These files are copies of the corresponding files in the corresponding Intel® P4 Studio SDE release (see VERSION file), explicitly licensed under CC BY-ND 4.0.

FAQs

Q: What is being allowed?
A: You can openly publish your data plane code written for Tofino in both P414 and P416, as well as the accompanying control plane code. You can openly publish your own code written for Tofino, e.g. by putting it on Github, attaching to a publication, etc.

Q: What can I not publish?
A: You are not allowed to publish Intel software, e.g. the P4Studio SDE in source or in binary. You are also not allowed to publish the artifacts produced by the P4 compiler and other P4Studio tools, such as Tofino binary file (tofino.bin), context.json and bfrt.json, logs, visualizations, etc.

Q: Do I need an NDA to develop this code?
A: Yes, you do need an NDA and SLA to get access to documentation and P4 Studio release so you can develop the control plane and data plane code.

Q: What is Intel's vision for being more open about Tofino?
A: Just as Intel helped create one of the biggest software ecosystems in the computing industry, it is approaching the networking industry in a similar way. Thus, Intel believes Ethernet switch ASICs should have a software ecosystem that is as open and easy to participate in as CPUs. This announcement is just the first step. Stay tuned!

Q: Can you share examples of others who have taken advantage of Open Tofino?
A: Here is a list of repos, which showcase several projects using Open Tofino in ongoing research:

  • AES-tofino: AES encryption on Tofino switch
  • BeauCoup: Run multiple distinct-counting queries on Tofino
  • Cheetah: Use Tofino to accelerate Spark queries
  • Chipmunk: Use program synthesis to generate P4 code
  • ConQuest-tofino: ConQuest queue analysis on Tofino switch
  • Mantis: Generates reactive P4 program and C++ agent
  • MicroP4: Modularized data-plane programming
  • NetLock: Using P4 switch for lock management
  • ONTAS: Traffic anonymization on BMV2 / Tofino
  • P4-CoDel: Implementation of CoDel AQM for BMV2 and Tofino
  • P4STA: Load generation and timestamping framework for Tofino/Netronome/BMV2
  • PRECISION-tofino: The PRECISION heavy-hitter algorithm on Tofino switch
  • RTT-tofino: TCP Round-Trip Time measurement on Tofino switch

Q: How often is Open Tofino updated?
A: Next update of Open Tofino is expected to be a year from now along with next dot zero LTS SDE release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published