Skip to content

dcomp-leris/AR-CG-P4-Tofino

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-Network AR/CG Traffic Classification Entirely Deployed in the Programmable Data Plane: Unlocking RTP Features and L4S Integration

Conference Conference

Note:

This paper has been submitted to the Netsoft 2025 Conference and is under review!

(1) Connect Tofino & Clone P4 Code

  ssh [username]@[IP]    # Replace your username & Tofino IP
  pass: xxxx             # Tofino password

  # Clone the Repository on your Tofino
  git clone https://github.com/dcomp-leris/ARCG-DP-Deployment.git
  cd ARCG-DP-Deployment/Tofino/V2

Output:

image

(2) Compile the P4 Code in Tofino

  # Check to be in the froject folder
  ~/../p4_build.sh -p RF.p4

Output:

image

(3) Run the P4 code

  # Run compiled P4 code (RF) on Tofino2
  ~/../run_switchd.sh  -p RF --arch tf2

Output:

image

(4) Run the Controllr code

  bfshell> bfrt_python

  # Set the CP.py file address
  bfrt_python> %load /home/alireza/ARCG-DP-Deployment/Tofino/V2/CP.py

Output:

image

(5) Results

RF AR/CG Classifier + Automatic ECT Marking + Forwarding (L4S + Classic) Queues are running!

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • P4 72.6%
  • Python 24.7%
  • Shell 2.7%